@volvel/docs 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +21 -3
- package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/assets/screenshots/index.json +94 -94
- package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/content/administer/how-to/access/invite-end-users.md +8 -0
- package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/content/administer/reference/screens/branding.md +1 -1
- package/content/administer/reference/screens/end-users.md +3 -1
- package/content/administer/reference/screens/overview.md +21 -0
- package/content/administer/reference/screens/retention.md +3 -2
- package/content/administer/reference/screens/single-sign-on.md +1 -1
- package/content/console/how-to/app-builder/publish-an-app.md +0 -1
- package/content/console/how-to/data/row-rules.md +1 -0
- package/content/console/reference/screens/build/published-apps.md +1 -2
- package/content/console/reference/screens/data/tables.md +1 -1
- package/content/console/reference/screens/home/tenants.md +1 -1
- package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/content/develop/explanation/apps/app-access.md +29 -10
- package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/content/develop/how-to/apps/write-an-app.md +1 -1
- package/content/develop/how-to/cli/install-from-source.md +1 -1
- package/content/develop/how-to/cli/install-the-cli.md +1 -1
- package/content/develop/how-to/cli/test-a-script.md +1 -1
- package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/content/develop/reference/access/mcp.md +11 -1
- package/content/develop/reference/apps/app-client.md +10 -8
- package/content/develop/reference/apps/content-policy.md +8 -3
- package/content/develop/reference/queries/data-as-code.md +12 -0
- package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/content/develop/tutorials/cli/quickstart.md +1 -1
- package/content/self-host/explanation/access/index.md +1 -0
- package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/content/self-host/explanation/access/who-runs-what.md +2 -0
- package/content/self-host/explanation/running/architecture.md +1 -1
- package/content/self-host/explanation/running/egress-and-offline.md +1 -1
- package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/content/self-host/explanation/running/security-hardening.md +9 -8
- package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/content/self-host/how-to/running/build-the-image.md +1 -1
- package/content/self-host/how-to/running/install-on-fly.md +27 -10
- package/content/self-host/how-to/running/install-with-compose.md +4 -4
- package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/content/self-host/how-to/running/restore-an-instance.md +34 -5
- package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/content/self-host/how-to/running/set-up-mail.md +13 -6
- package/content/self-host/reference/console/health.md +21 -1
- package/content/self-host/reference/running/configuration.md +1 -1
- package/content/self-host/reference/running/requirements.md +9 -2
- package/content/self-host/reference/running/retention.md +2 -1
- package/content/self-host/reference/running/troubleshooting.md +6 -1
- package/content/self-host/reference/running/versions-and-support.md +9 -1
- package/content/self-host/tutorials/install-on-one-machine.md +1 -1
- package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/content/start/index.md +11 -1
- package/content/start/reference/accessibility.md +35 -0
- package/content/start/reference/index.md +1 -0
- package/content/start/tutorials/index.md +6 -1
- package/content/start/tutorials/your-first-script.md +0 -1
- package/content/start/tutorials/your-first-table.md +2 -2
- package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/dist/fields.json +1 -1
- package/dist/manifest.json +1 -1
- package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
- package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/dist/md/administer/reference/audit-actions.md +1 -0
- package/dist/md/administer/reference/permissions.md +1 -0
- package/dist/md/administer/reference/screens/branding.md +1 -1
- package/dist/md/administer/reference/screens/end-users.md +3 -1
- package/dist/md/administer/reference/screens/overview.md +21 -0
- package/dist/md/administer/reference/screens/retention.md +3 -2
- package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
- package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
- package/dist/md/console/how-to/data/row-rules.md +1 -0
- package/dist/md/console/reference/screens/build/published-apps.md +1 -2
- package/dist/md/console/reference/screens/data/tables.md +1 -1
- package/dist/md/console/reference/screens/home/tenants.md +1 -1
- package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/dist/md/develop/explanation/apps/app-access.md +29 -10
- package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
- package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
- package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
- package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
- package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/dist/md/develop/reference/access/mcp.md +11 -1
- package/dist/md/develop/reference/api/agents.md +27 -1
- package/dist/md/develop/reference/api/apps.md +25 -1
- package/dist/md/develop/reference/api/end-users.md +71 -6
- package/dist/md/develop/reference/api/figures.md +160 -0
- package/dist/md/develop/reference/api/identity.md +318 -1
- package/dist/md/develop/reference/api/index.md +7 -6
- package/dist/md/develop/reference/api/instance.md +59 -1
- package/dist/md/develop/reference/api/permissions.md +13 -4
- package/dist/md/develop/reference/api/tenancy.md +13 -0
- package/dist/md/develop/reference/apps/app-client.md +10 -8
- package/dist/md/develop/reference/apps/content-policy.md +8 -3
- package/dist/md/develop/reference/errors.md +6 -0
- package/dist/md/develop/reference/kinds/dashboard.md +10 -0
- package/dist/md/develop/reference/kinds/interface.md +10 -0
- package/dist/md/develop/reference/kinds/widget.md +1 -1
- package/dist/md/develop/reference/queries/data-as-code.md +12 -0
- package/dist/md/develop/reference/sdk/sdk.md +1 -1
- package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
- package/dist/md/develop/reference/sdk/widgets.md +2 -2
- package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/dist/md/develop/reference/widgets/chart.md +1 -1
- package/dist/md/develop/reference/widgets/goal.md +1 -1
- package/dist/md/develop/reference/widgets/pivot.md +1 -1
- package/dist/md/develop/reference/widgets/stat.md +1 -1
- package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
- package/dist/md/self-host/explanation/access/index.md +1 -0
- package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
- package/dist/md/self-host/explanation/running/architecture.md +1 -1
- package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
- package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
- package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
- package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
- package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
- package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
- package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
- package/dist/md/self-host/reference/console/health.md +21 -1
- package/dist/md/self-host/reference/running/configuration.md +1 -1
- package/dist/md/self-host/reference/running/requirements.md +9 -2
- package/dist/md/self-host/reference/running/retention.md +2 -1
- package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
- package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
- package/dist/md/self-host/reference/settings.md +2 -2
- package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
- package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/dist/md/start/index.md +11 -1
- package/dist/md/start/reference/accessibility.md +35 -0
- package/dist/md/start/reference/changelog/0-7-0.md +208 -0
- package/dist/md/start/reference/index.md +1 -0
- package/dist/md/start/tutorials/index.md +6 -1
- package/dist/md/start/tutorials/your-first-script.md +0 -1
- package/dist/md/start/tutorials/your-first-table.md +2 -2
- package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
- package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
- package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
- package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
- package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
- package/dist/pages/administer/reference/audit-actions.json +1 -1
- package/dist/pages/administer/reference/permissions.json +1 -1
- package/dist/pages/administer/reference/screens/branding.json +1 -1
- package/dist/pages/administer/reference/screens/end-users.json +1 -1
- package/dist/pages/administer/reference/screens/overview.json +1 -1
- package/dist/pages/administer/reference/screens/retention.json +1 -1
- package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
- package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
- package/dist/pages/console/how-to/data/row-rules.json +1 -1
- package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
- package/dist/pages/console/reference/screens/data/tables.json +1 -1
- package/dist/pages/console/reference/screens/home/tenants.json +1 -1
- package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
- package/dist/pages/develop/explanation/apps/app-access.json +1 -1
- package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
- package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
- package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
- package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
- package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
- package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
- package/dist/pages/develop/reference/access/mcp.json +1 -1
- package/dist/pages/develop/reference/api/agents.json +1 -1
- package/dist/pages/develop/reference/api/apps.json +1 -1
- package/dist/pages/develop/reference/api/end-users.json +1 -1
- package/dist/pages/develop/reference/api/figures.json +1 -0
- package/dist/pages/develop/reference/api/identity.json +1 -1
- package/dist/pages/develop/reference/api/index.json +1 -1
- package/dist/pages/develop/reference/api/instance.json +1 -1
- package/dist/pages/develop/reference/api/permissions.json +1 -1
- package/dist/pages/develop/reference/api/tenancy.json +1 -1
- package/dist/pages/develop/reference/apps/app-client.json +1 -1
- package/dist/pages/develop/reference/apps/content-policy.json +1 -1
- package/dist/pages/develop/reference/errors.json +1 -1
- package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
- package/dist/pages/develop/reference/kinds/interface.json +1 -1
- package/dist/pages/develop/reference/kinds/widget.json +1 -1
- package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
- package/dist/pages/develop/reference/sdk/sdk.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets.json +1 -1
- package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
- package/dist/pages/develop/reference/widgets/chart.json +1 -1
- package/dist/pages/develop/reference/widgets/goal.json +1 -1
- package/dist/pages/develop/reference/widgets/pivot.json +1 -1
- package/dist/pages/develop/reference/widgets/stat.json +1 -1
- package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
- package/dist/pages/self-host/explanation/access/index.json +1 -1
- package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
- package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
- package/dist/pages/self-host/explanation/running/architecture.json +1 -1
- package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
- package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
- package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
- package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
- package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
- package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
- package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
- package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
- package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
- package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
- package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
- package/dist/pages/self-host/reference/console/health.json +1 -1
- package/dist/pages/self-host/reference/running/configuration.json +1 -1
- package/dist/pages/self-host/reference/running/requirements.json +1 -1
- package/dist/pages/self-host/reference/running/retention.json +1 -1
- package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
- package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
- package/dist/pages/self-host/reference/settings.json +1 -1
- package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
- package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
- package/dist/pages/start/index.json +1 -1
- package/dist/pages/start/reference/accessibility.json +1 -0
- package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
- package/dist/pages/start/reference/index.json +1 -1
- package/dist/pages/start/tutorials/index.json +1 -1
- package/dist/pages/start/tutorials/your-first-script.json +1 -1
- package/dist/pages/start/tutorials/your-first-table.json +1 -1
- package/dist/redirects.json +1 -1
- package/dist/search.json +1 -1
- package/generated/administer/reference/audit-actions.md +1 -0
- package/generated/administer/reference/permissions.md +1 -0
- package/generated/develop/reference/api/agents.md +27 -1
- package/generated/develop/reference/api/apps.md +25 -1
- package/generated/develop/reference/api/end-users.md +71 -6
- package/generated/develop/reference/api/figures.md +160 -0
- package/generated/develop/reference/api/identity.md +318 -1
- package/generated/develop/reference/api/index.md +7 -6
- package/generated/develop/reference/api/instance.md +59 -1
- package/generated/develop/reference/api/permissions.md +13 -4
- package/generated/develop/reference/api/tenancy.md +13 -0
- package/generated/develop/reference/errors.md +6 -0
- package/generated/develop/reference/kinds/dashboard.md +10 -0
- package/generated/develop/reference/kinds/interface.md +10 -0
- package/generated/develop/reference/kinds/widget.md +1 -1
- package/generated/develop/reference/sdk/sdk.md +1 -1
- package/generated/develop/reference/sdk/widgets-page.md +13 -0
- package/generated/develop/reference/sdk/widgets.md +2 -2
- package/generated/develop/reference/widgets/chart.md +1 -1
- package/generated/develop/reference/widgets/goal.md +1 -1
- package/generated/develop/reference/widgets/pivot.md +1 -1
- package/generated/develop/reference/widgets/stat.md +1 -1
- package/generated/openapi.json +4899 -1734
- package/generated/self-host/reference/settings.md +2 -2
- package/generated/start/reference/changelog/0-7-0.md +208 -0
- package/package.json +11 -6
- package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/how-to/running/run-a-standalone-worker","title":"Run a standalone worker in another network","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"run-a-standalone-worker-in-another-network","children":[{"type":"text","value":"Run a standalone worker in another network","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end a worker you run in another network takes a tenant's scripts, and nothing has to be opened toward it. A worker makes outbound HTTPS requests to the instance and publishes no port.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"You need ","line":13},{"type":"inlineCode","value":"worker:write","line":13},{"type":"text","value":" in the tenant, to create a credential.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"A machine in the other network with Docker and Compose, that reaches the instance's address, and the image (see ","line":14},{"type":"link","href":"build-the-image","children":[{"type":"text","value":"Build the image from source","line":14}],"line":14},{"type":"text","value":"). The worker ships inside it.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"A worker keeps working with an instance up to three minor versions newer than itself. Upgrade the instance first, then the worker.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"run-it","children":[{"type":"text","value":"Run it","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In the console, open the tenant's ","line":20},{"type":"strong","children":[{"type":"text","value":"Workers","line":20}],"line":20},{"type":"text","value":" page and create a credential. Give it a pool, for example ","line":20},{"type":"inlineCode","value":"plant","line":20},{"type":"text","value":", if only some scripts should run there. The token is shown once. Via the API: ","line":20},{"type":"inlineCode","value":"POST /api/v1/tenants/<id>/worker-credentials","line":20},{"type":"text","value":" with ","line":20},{"type":"inlineCode","value":"name","line":20},{"type":"text","value":" and, optionally, ","line":20},{"type":"inlineCode","value":"pool","line":20},{"type":"text","value":" and ","line":20},{"type":"inlineCode","value":"workspaceId","line":20},{"type":"text","value":".","line":20}],"line":20}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In the tenant's repository, give the scripts that should run there ","line":21},{"type":"inlineCode","value":"worker: \"plant\"","line":21},{"type":"text","value":".","line":21}],"line":21}],"line":21},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"On the machine in that network, copy ","line":22},{"type":"inlineCode","value":"deploy/worker/compose.yaml","line":22},{"type":"text","value":", and make a file ","line":22},{"type":"inlineCode","value":".env","line":22},{"type":"text","value":" beside it:","line":22}],"line":22},{"type":"code","value":"VOLVEL_IMAGE=volvel/volvel:docs\nVOLVEL_URL=https://volvel.example.com","lang":"bash","line":24},{"type":"paragraph","children":[{"type":"inlineCode","value":"VOLVEL_URL","line":29},{"type":"text","value":" is the instance's address as the worker reaches it. ","line":29},{"type":"inlineCode","value":"VOLVEL_WORKER_CONCURRENCY","line":29},{"type":"text","value":" (4 when empty) is how many runs it handles at once. ","line":29},{"type":"inlineCode","value":"VOLVEL_WORKER_IDLE_EXIT","line":29},{"type":"text","value":" (never when empty) is the seconds with nothing to do before it exits.","line":29}],"line":29}],"line":22},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Write the token into a file named ","line":30},{"type":"inlineCode","value":"worker-token","line":30},{"type":"text","value":" beside the Compose file, and keep it to yourself: ","line":30},{"type":"inlineCode","value":"chmod 600 worker-token","line":30},{"type":"text","value":". The container runs as the user ","line":30},{"type":"inlineCode","value":"node","line":30},{"type":"text","value":", uid 1000, and reads the file as it is on the machine, so the file must be readable by uid 1000. If your user has another uid, run ","line":30},{"type":"inlineCode","value":"sudo chown 1000 worker-token","line":30},{"type":"text","value":", or the worker cannot read it.","line":30}],"line":30}],"line":30},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Start it:","line":31}],"line":31},{"type":"code","value":"docker compose -f deploy/worker/compose.yaml up -d --wait","lang":"bash","line":33}],"line":31}],"line":20}],"line":19,"endLine":36},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"The container becomes healthy, and its log says \"worker started\" with the worker's ID. The tenant's ","line":40},{"type":"strong","children":[{"type":"text","value":"Workers","line":40}],"line":40},{"type":"text","value":" page lists it, and ","line":40},{"type":"inlineCode","value":"GET /api/v1/tenants/<id>/workers","line":40},{"type":"text","value":" lists it with its credential's name and ","line":40},{"type":"inlineCode","value":"managed: false","line":40},{"type":"text","value":". A script that names a pool runs only on a worker of that pool. A script that names none runs on the workers the instance starts. To have a tenant run nothing on the instance at all, choose \"Run only on our own workers\" on its Workers page.","line":40}],"line":40},{"type":"paragraph","children":[{"type":"text","value":"A run that is waiting with no worker connected that could take it says so on its page.","line":42}],"line":42},{"type":"heading","depth":2,"id":"without-compose","children":[{"type":"text","value":"Without Compose","line":44}],"line":44},{"type":"code","value":"printf '%s\\n' 'the credential' | volvel-worker --url https://volvel.example.com --token-stdin\nvolvel-worker --url https://volvel.example.com --token-file ./worker-token","lang":"bash","line":46},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Option","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Meaning","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--url <address>","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's address. ","line":53},{"type":"inlineCode","value":"VOLVEL_URL","line":53},{"type":"text","value":" also sets it.","line":53}]}],"line":53},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token-stdin","line":54}]},{"type":"tableCell","children":[{"type":"text","value":"Read the credential from the first line of standard input.","line":54}]}],"line":54},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token-file <path>","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"Read it from the first line of a file.","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token <credential>","line":56}]},{"type":"tableCell","children":[{"type":"text","value":"Give it on the command line. Other processes of the same user can read it. ","line":56},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":56},{"type":"text","value":" also sets it.","line":56}]}],"line":56},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--concurrency <n>","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"Runs handled at once. Default 4.","line":57}]}],"line":57},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--idle-exit <s>","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"Exit after this many seconds with nothing to do.","line":58}]}],"line":58}],"line":51},{"type":"paragraph","children":[{"type":"text","value":"Without ","line":60},{"type":"inlineCode","value":"--url","line":60},{"type":"text","value":" and a credential the worker says \"volvel-worker needs --url and a credential: --token-file, --token-stdin or --token, or VOLVEL_URL and VOLVEL_WORKER_TOKEN.\" and exits. The worker finishes the scripts it has before it stops; the Compose file gives it 300 seconds, so raise ","line":60},{"type":"inlineCode","value":"stop_grace_period","line":60},{"type":"text","value":" to the longest script you run.","line":60}],"line":60},{"type":"heading","depth":2,"id":"the-credential","children":[{"type":"text","value":"The credential","line":62}],"line":62},{"type":"paragraph","children":[{"type":"text","value":"The token comes from ","line":64},{"type":"inlineCode","value":"--token-file","line":64},{"type":"text","value":", which the Compose file points at a Compose secret, ","line":64},{"type":"inlineCode","value":"/run/secrets/worker_token","line":64},{"type":"text","value":". Prefer it to ","line":64},{"type":"inlineCode","value":"--token","line":64},{"type":"text","value":" or ","line":64},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":64},{"type":"text","value":": an environment is shown by ","line":64},{"type":"inlineCode","value":"docker inspect","line":64},{"type":"text","value":", and a script's process runs as the worker's own user, which can read the environment and command line of processes. ","line":64},{"type":"inlineCode","value":"--token-stdin","line":64},{"type":"text","value":" also works. The credential is never given to the process a script runs in. An older ","line":64},{"type":"inlineCode","value":".env","line":64},{"type":"text","value":" that held ","line":64},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":64},{"type":"text","value":" must move it into the ","line":64},{"type":"inlineCode","value":"worker-token","line":64},{"type":"text","value":" file.","line":64}],"line":64},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":66}],"line":66},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The container is unhealthy.","line":68}],"line":68},{"type":"text","value":" It is healthy while the instance answered its last request for work, which it asks every 20 seconds at most. A worker that cannot reach ","line":68},{"type":"inlineCode","value":"VOLVEL_URL","line":68},{"type":"text","value":", or was refused, is not.","line":68}],"line":68},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log says the token was refused.","line":69}],"line":69},{"type":"text","value":" The credential was revoked, expired, or belongs to another instance.","line":69}],"line":69},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Scripts do not arrive.","line":70}],"line":70},{"type":"text","value":" The pool names differ, or the credential is for one workspace only.","line":70}],"line":70},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log warns \"kernel.yama.ptrace_scope is 0: a script could read this worker's memory. Set it to 1 or more.\"","line":71}],"line":71},{"type":"text","value":" Scripts run as the worker's own user. Set ","line":71},{"type":"inlineCode","value":"kernel.yama.ptrace_scope","line":71},{"type":"text","value":" to 1 or more on the machine.","line":71}],"line":71},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker cannot read the token file.","line":72}],"line":72},{"type":"text","value":" See step 4: uid 1000.","line":72}],"line":72},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker shows \"Older version, takes no tasks\".","line":73}],"line":73},{"type":"text","value":" The worker is older than 0.6.0, or older than the instance. Update it to the instance's version.","line":73}],"line":73},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker has no memory guard.","line":74}],"line":74},{"type":"text","value":" A standalone worker has no run slots and no floor. Size it by ","line":74},{"type":"inlineCode","value":"VOLVEL_WORKER_CONCURRENCY","line":74},{"type":"text","value":".","line":74}],"line":74}],"line":68},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":76},{"type":"link","href":"../../explanation/running/managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":76}],"line":76},{"type":"text","value":", ","line":76},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":76}],"line":76},{"type":"text","value":".","line":76}],"line":76}]},"description":"Run a tenant's scripts next to systems the instance cannot reach, with a worker that only makes outbound requests and takes its credential from a file."}
|
|
1
|
+
{"path":"self-host/how-to/running/run-a-standalone-worker","title":"Run a standalone worker in another network","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"run-a-standalone-worker-in-another-network","children":[{"type":"text","value":"Run a standalone worker in another network","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end a worker you run in another network takes a tenant's scripts, and nothing has to be opened toward it. A worker makes outbound HTTPS requests to the instance and publishes no port.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"You need ","line":13},{"type":"inlineCode","value":"worker:write","line":13},{"type":"text","value":" in the tenant, to create a credential.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"A machine in the other network with Docker and Compose, that reaches the instance's address, and the image (see ","line":14},{"type":"link","href":"build-the-image","children":[{"type":"text","value":"Build the image from source","line":14}],"line":14},{"type":"text","value":"). The worker ships inside it.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"A worker keeps working with an instance up to three minor versions newer than itself. Upgrade the instance first, then the worker.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"run-it","children":[{"type":"text","value":"Run it","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In the console, open the tenant's ","line":20},{"type":"strong","children":[{"type":"text","value":"Workers","line":20}],"line":20},{"type":"text","value":" page and create a credential. Give it a pool, for example ","line":20},{"type":"inlineCode","value":"plant","line":20},{"type":"text","value":", if only some scripts should run there. The token is shown once. Via the API: ","line":20},{"type":"inlineCode","value":"POST /api/v1/tenants/<id>/worker-credentials","line":20},{"type":"text","value":" with ","line":20},{"type":"inlineCode","value":"name","line":20},{"type":"text","value":" and, optionally, ","line":20},{"type":"inlineCode","value":"pool","line":20},{"type":"text","value":" and ","line":20},{"type":"inlineCode","value":"workspaceId","line":20},{"type":"text","value":".","line":20}],"line":20}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In the tenant's repository, give the scripts that should run there ","line":21},{"type":"inlineCode","value":"worker: \"plant\"","line":21},{"type":"text","value":".","line":21}],"line":21}],"line":21},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"On the machine in that network, copy ","line":22},{"type":"inlineCode","value":"deploy/worker/compose.yaml","line":22},{"type":"text","value":", and make a file ","line":22},{"type":"inlineCode","value":".env","line":22},{"type":"text","value":" beside it:","line":22}],"line":22},{"type":"code","value":"VOLVEL_IMAGE=volvel/volvel:docs\nVOLVEL_URL=https://volvel.example.com","lang":"bash","line":24},{"type":"paragraph","children":[{"type":"inlineCode","value":"VOLVEL_URL","line":29},{"type":"text","value":" is the instance's address as the worker reaches it. ","line":29},{"type":"inlineCode","value":"VOLVEL_WORKER_CONCURRENCY","line":29},{"type":"text","value":" (4 when empty) is how many runs it handles at once. ","line":29},{"type":"inlineCode","value":"VOLVEL_WORKER_IDLE_EXIT","line":29},{"type":"text","value":" (never when empty) is the seconds with nothing to do before it exits.","line":29}],"line":29}],"line":22},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Write the token into a file named ","line":30},{"type":"inlineCode","value":"worker-token","line":30},{"type":"text","value":" beside the Compose file, and keep it to yourself: ","line":30},{"type":"inlineCode","value":"chmod 600 worker-token","line":30},{"type":"text","value":". The container starts as root, reads the file, and then becomes the user ","line":30},{"type":"inlineCode","value":"node","line":30},{"type":"text","value":", uid 1000, so the file need not be readable by uid 1000. Where your platform refuses images that start as root (Kubernetes ","line":30},{"type":"inlineCode","value":"runAsNonRoot","line":30},{"type":"text","value":"), run the worker as user ","line":30},{"type":"inlineCode","value":"1000","line":30},{"type":"text","value":". It then reads the file as uid 1000, so run ","line":30},{"type":"inlineCode","value":"sudo chown 1000 worker-token","line":30},{"type":"text","value":" if your user has another uid, or the worker cannot read it.","line":30}],"line":30}],"line":30},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Start it:","line":31}],"line":31},{"type":"code","value":"docker compose -f deploy/worker/compose.yaml up -d --wait","lang":"bash","line":33}],"line":31}],"line":20}],"line":19,"endLine":36},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"The container becomes healthy, and its log says \"worker started\" with the worker's ID. The tenant's ","line":40},{"type":"strong","children":[{"type":"text","value":"Workers","line":40}],"line":40},{"type":"text","value":" page lists it, and ","line":40},{"type":"inlineCode","value":"GET /api/v1/tenants/<id>/workers","line":40},{"type":"text","value":" lists it with its credential's name and ","line":40},{"type":"inlineCode","value":"managed: false","line":40},{"type":"text","value":". A script that names a pool runs only on a worker of that pool. A script that names none runs on the workers the instance starts. To have a tenant run nothing on the instance at all, choose \"Run only on our own workers\" on its Workers page.","line":40}],"line":40},{"type":"paragraph","children":[{"type":"text","value":"A run that is waiting with no worker connected that could take it says so on its page.","line":42}],"line":42},{"type":"heading","depth":2,"id":"without-compose","children":[{"type":"text","value":"Without Compose","line":44}],"line":44},{"type":"code","value":"printf '%s\\n' 'the credential' | volvel-worker --url https://volvel.example.com --token-stdin\nvolvel-worker --url https://volvel.example.com --token-file ./worker-token","lang":"bash","line":46},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Option","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Meaning","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--url <address>","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's address. ","line":53},{"type":"inlineCode","value":"VOLVEL_URL","line":53},{"type":"text","value":" also sets it.","line":53}]}],"line":53},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token-stdin","line":54}]},{"type":"tableCell","children":[{"type":"text","value":"Read the credential from the first line of standard input.","line":54}]}],"line":54},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token-file <path>","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"Read it from the first line of a file.","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--token <credential>","line":56}]},{"type":"tableCell","children":[{"type":"text","value":"Give it on the command line. Other processes of the same user can read it. ","line":56},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":56},{"type":"text","value":" also sets it.","line":56}]}],"line":56},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--concurrency <n>","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"Runs handled at once. Default 4.","line":57}]}],"line":57},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"--idle-exit <s>","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"Exit after this many seconds with nothing to do.","line":58}]}],"line":58}],"line":51},{"type":"paragraph","children":[{"type":"text","value":"Without ","line":60},{"type":"inlineCode","value":"--url","line":60},{"type":"text","value":" and a credential the worker says \"volvel-worker needs --url and a credential: --token-file, --token-stdin or --token, or VOLVEL_URL and VOLVEL_WORKER_TOKEN.\" and exits. The worker finishes the scripts it has before it stops; the Compose file gives it 300 seconds, so raise ","line":60},{"type":"inlineCode","value":"stop_grace_period","line":60},{"type":"text","value":" to the longest script you run.","line":60}],"line":60},{"type":"heading","depth":2,"id":"the-credential","children":[{"type":"text","value":"The credential","line":62}],"line":62},{"type":"paragraph","children":[{"type":"text","value":"The token comes from ","line":64},{"type":"inlineCode","value":"--token-file","line":64},{"type":"text","value":", which the Compose file points at a Compose secret, ","line":64},{"type":"inlineCode","value":"/run/secrets/worker_token","line":64},{"type":"text","value":". Prefer it to ","line":64},{"type":"inlineCode","value":"--token","line":64},{"type":"text","value":" or ","line":64},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":64},{"type":"text","value":": an environment is shown by ","line":64},{"type":"inlineCode","value":"docker inspect","line":64},{"type":"text","value":", and a script's process runs as the worker's own user, which can read the environment and command line of processes. ","line":64},{"type":"inlineCode","value":"--token-stdin","line":64},{"type":"text","value":" also works. The credential is never given to the process a script runs in. An older ","line":64},{"type":"inlineCode","value":".env","line":64},{"type":"text","value":" that held ","line":64},{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":64},{"type":"text","value":" must move it into the ","line":64},{"type":"inlineCode","value":"worker-token","line":64},{"type":"text","value":" file.","line":64}],"line":64},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":66}],"line":66},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The container is unhealthy.","line":68}],"line":68},{"type":"text","value":" It is healthy while the instance answered its last request for work, which it asks every 20 seconds at most. A worker that cannot reach ","line":68},{"type":"inlineCode","value":"VOLVEL_URL","line":68},{"type":"text","value":", or was refused, is not.","line":68}],"line":68},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log says the token was refused.","line":69}],"line":69},{"type":"text","value":" The credential was revoked, expired, or belongs to another instance.","line":69}],"line":69},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Scripts do not arrive.","line":70}],"line":70},{"type":"text","value":" The pool names differ, or the credential is for one workspace only.","line":70}],"line":70},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log warns \"kernel.yama.ptrace_scope is 0: a script could read this worker's memory. Set it to 1 or more.\"","line":71}],"line":71},{"type":"text","value":" Scripts run as the worker's own user. Set ","line":71},{"type":"inlineCode","value":"kernel.yama.ptrace_scope","line":71},{"type":"text","value":" to 1 or more on the machine.","line":71}],"line":71},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker cannot read the token file.","line":72}],"line":72},{"type":"text","value":" See step 4. Run as user ","line":72},{"type":"inlineCode","value":"1000","line":72},{"type":"text","value":", the file must be readable by uid 1000.","line":72}],"line":72},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker shows \"Older version, takes no tasks\".","line":73}],"line":73},{"type":"text","value":" The worker is older than 0.6.0, or older than the instance. Update it to the instance's version.","line":73}],"line":73},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The worker has no memory guard.","line":74}],"line":74},{"type":"text","value":" A standalone worker has no run slots and no floor. Size it by ","line":74},{"type":"inlineCode","value":"VOLVEL_WORKER_CONCURRENCY","line":74},{"type":"text","value":".","line":74}],"line":74}],"line":68},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":76},{"type":"link","href":"../../explanation/running/managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":76}],"line":76},{"type":"text","value":", ","line":76},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":76}],"line":76},{"type":"text","value":".","line":76}],"line":76}]},"description":"Run a tenant's scripts next to systems the instance cannot reach, with a worker that only makes outbound requests and takes its credential from a file."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/how-to/running/set-up-mail","title":"Set up the instance's mail","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"set-up-the-instances-mail","children":[{"type":"text","value":"Set up the instance's mail","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end the instance sends the mail it owns: end users' invitations and password-reset links, a one-time link for a member's new password, and approval mail for flows.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An SMTP server the control plane can reach, and an address mail is sent from.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"Mail is recommended for an instance people use, and not required. Without it the instance sends nothing: whoever makes an invitation is shown the link to pass on, and \"Forgot your password\" tells people to ask.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"Mail does not make an end user's email address a proved one. Read ","line":15},{"type":"link","href":"#what-mail-does-and-does-not-prove","children":[{"type":"text","value":"What mail does and does not prove","line":15}],"line":15},{"type":"text","value":" before you build rules on an email address.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"set-it-up","children":[{"type":"text","value":"Set it up","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In ","line":20},{"type":"inlineCode","value":"deploy/compose/.env","line":20},{"type":"text","value":", set both. The first is the server as a URL, ","line":20},{"type":"inlineCode","value":"smtp://user:password@host:port","line":20},{"type":"text","value":" or ","line":20},{"type":"inlineCode","value":"smtps://user:password@host:port","line":20},{"type":"text","value":":","line":20}],"line":20},{"type":"code","value":"SMTP_URL=smtps://user:password@smtp.example.com:465\nMAIL_FROM=Volvel <no-reply@example.com>","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"text","value":"They must be set together. Setting one alone is refused with \"SMTP_URL and MAIL_FROM must be set together.\"","line":27}],"line":27}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Check the settings: ","line":28},{"type":"inlineCode","value":"docker compose -f deploy/compose/compose.yaml run --rm --no-deps control-plane node dist/main.js check-config","line":28},{"type":"text","value":".","line":28}],"line":28}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Restart the instance. ","line":29},{"type":"inlineCode","value":"GET /api/v1/instance","line":29},{"type":"text","value":" answers ","line":29},{"type":"inlineCode","value":"\"mail\": true","line":29},{"type":"text","value":".","line":29}],"line":29}],"line":29}],"line":20}],"line":19,"endLine":30},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":32}],"line":32},{"type":"paragraph","children":[{"type":"text","value":"The instance sends mail itself. When a flow waits for an approval, each member who may decide it gets a mail with a link of their own: the members of the tenant who hold ","line":34},{"type":"inlineCode","value":"approval:write","line":34},{"type":"text","value":" in the workspace and, when the step names groups or roles, are among them. Suspended and disabled members are not mailed, nor is an operator inside the tenant on an access grant. At most 50 are mailed for one step; the rest see it in the console.","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"A link:","line":36}],"line":36},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"is the approver's own, and enough by itself: it opens a page with what is asked and Approve and Reject, with no sign-in. Opening it decides nothing, so a mail scanner that fetches links does no harm;","line":38}],"line":38},{"type":"listItem","children":[{"type":"text","value":"works once, and only until 48 hours have passed, the step's own timeout comes, or anyone decides the approval. Then every link to it stops working;","line":39}],"line":39},{"type":"listItem","children":[{"type":"text","value":"is checked again when used: a member suspended, or no longer allowed to decide, since the mail went out is refused.","line":40}],"line":40}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"A forwarded link can be used once by whoever holds it, and decides as the approver it was sent to. The decision is recorded as that member's, with ","line":42},{"type":"inlineCode","value":"via: \"email\"","line":42},{"type":"text","value":" in the audit log.","line":42}],"line":42},{"type":"paragraph","children":[{"type":"text","value":"A tenant sends mail from its flows through its own ","line":44},{"type":"inlineCode","value":"smtp","line":44},{"type":"text","value":" connection, made by a worker. The instance's ","line":44},{"type":"inlineCode","value":"SMTP_URL","line":44},{"type":"text","value":" is not used for that, and the mail server must be reachable from where workers run.","line":44}],"line":44},{"type":"heading","depth":2,"id":"what-mail-does-and-does-not-prove","children":[{"type":"text","value":"What mail does and does not prove","line":46}],"line":46},{"type":"paragraph","children":[{"type":"text","value":"When a tenant lets people create their own account, anyone can sign up with any email address, and is signed in at once. The instance does not ask them to prove the address, with mail or without it.","line":48}],"line":48},{"type":"paragraph","children":[{"type":"text","value":"What mail changes:","line":50}],"line":50},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An invitation made in the console is emailed. The account has no password until its link is opened, so whoever opens it is someone who can read that mailbox. Without mail, the person who made the invitation passes the link on.","line":52}],"line":52},{"type":"listItem","children":[{"type":"text","value":"\"Forgot your password\" sends a reset link to the address. The owner of an address can use it to take back an account someone else made with it: using the link sets a new password and signs out every session of the account. Without mail, the page tells people to ask.","line":53}],"line":53}],"line":52},{"type":"paragraph","children":[{"type":"text","value":"What it does not change: an account made by signing up is not marked as checked, and an app sees the address as the person gave it, in lower case.","line":55}],"line":55},{"type":"paragraph","children":[{"type":"text","value":"Without mail, an app that shows a person the rows that carry their email address shows them to whoever signed up with it. Whether or not you set up mail, do not key an app's rules, or a script's or a flow's decisions, on an end user's email address when people sign themselves up. Make the end users yourself instead, by inviting them from the console (see ","line":57},{"type":"link","href":"../../../administer/how-to/access/invite-end-users","children":[{"type":"text","value":"Invite end users","line":57}],"line":57},{"type":"text","value":"), or have them sign in through an identity provider of end users, which refuses an email its provider says is not verified. Rules that name a person by their ID, a group or an attribute you set are not affected.","line":57}],"line":57},{"type":"heading","depth":2,"id":"try-mail-without-a-server","children":[{"type":"text","value":"Try mail without a server","line":59}],"line":59},{"type":"paragraph","children":[{"type":"inlineCode","value":"MAIL_CAPTURE_DIR=/some/folder","line":61},{"type":"text","value":" writes each message the instance would send to a file there (","line":61},{"type":"inlineCode","value":"To:","line":61},{"type":"text","value":", ","line":61},{"type":"inlineCode","value":"Subject:","line":61},{"type":"text","value":", then the text), readable, and sends nothing. It overrides ","line":61},{"type":"inlineCode","value":"SMTP_URL","line":61},{"type":"text","value":", and ","line":61},{"type":"strong","children":[{"type":"text","value":"Instance","line":61}],"line":61},{"type":"text","value":", then ","line":61},{"type":"strong","children":[{"type":"text","value":"Health","line":61}],"line":61},{"type":"text","value":", says \"Written to files, for development\". The instance warns in its log when it starts. It is for development and tests, never for an instance people use: the files hold one-time links. The Compose file does not pass ","line":61},{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":61},{"type":"text","value":", so use it on an instance you start another way.","line":61}],"line":61},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":63}],"line":63},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Invitations are not arriving.","line":65}],"line":65},{"type":"text","value":" Check ","line":65},{"type":"inlineCode","value":"SMTP_URL","line":65},{"type":"text","value":", ","line":65},{"type":"inlineCode","value":"MAIL_FROM","line":65},{"type":"text","value":" and the instance's log, which names the address that could not be sent to.","line":65}],"line":65},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log says \"MAIL_CAPTURE_DIR is set: mail is written to files there and nothing is sent. For development only\".","line":66}],"line":66},{"type":"text","value":" Remove ","line":66},{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":66},{"type":"text","value":".","line":66}],"line":66},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"A tenant's flow cannot send mail.","line":67}],"line":67},{"type":"text","value":" That is the tenant's ","line":67},{"type":"inlineCode","value":"smtp","line":67},{"type":"text","value":" connection, not this setting.","line":67}],"line":67}],"line":65},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":69},{"type":"link","href":"../../reference/settings","children":[{"type":"text","value":"Settings","line":69}],"line":69},{"type":"text","value":".","line":69}],"line":69}]},"description":"Give the instance a mail server so it sends invitations, reset links and approval mail, and try mail without a server."}
|
|
1
|
+
{"path":"self-host/how-to/running/set-up-mail","title":"Set up the instance's mail","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"set-up-the-instances-mail","children":[{"type":"text","value":"Set up the instance's mail","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end the instance sends the mail it owns: end users' invitations and password-reset links, a one-time link for a member's new password, and approval mail for flows.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An SMTP server the control plane can reach, and an address mail is sent from.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"Mail is recommended for an instance people use, and not required. Without it the instance sends nothing: whoever makes an invitation is shown the link to pass on, and \"Forgot your password\" tells people to ask.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"Where mail is set up, signing up mails a link, and the address is proved when it is used. Read ","line":15},{"type":"link","href":"#what-mail-proves","children":[{"type":"text","value":"What mail proves","line":15}],"line":15},{"type":"text","value":" before you build rules on an email address.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"set-it-up","children":[{"type":"text","value":"Set it up","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"In ","line":20},{"type":"inlineCode","value":"deploy/compose/.env","line":20},{"type":"text","value":", set both. The first is the server as a URL, ","line":20},{"type":"inlineCode","value":"smtp://user:password@host:port","line":20},{"type":"text","value":" or ","line":20},{"type":"inlineCode","value":"smtps://user:password@host:port","line":20},{"type":"text","value":":","line":20}],"line":20},{"type":"code","value":"SMTP_URL=smtps://user:password@smtp.example.com:465\nMAIL_FROM=Volvel <no-reply@example.com>","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"text","value":"They must be set together. Setting one alone is refused with \"SMTP_URL and MAIL_FROM must be set together.\"","line":27}],"line":27}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Check the settings: ","line":28},{"type":"inlineCode","value":"docker compose -f deploy/compose/compose.yaml run --rm --no-deps control-plane node dist/main.js check-config","line":28},{"type":"text","value":".","line":28}],"line":28}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Restart the instance. ","line":29},{"type":"inlineCode","value":"GET /api/v1/instance","line":29},{"type":"text","value":" answers ","line":29},{"type":"inlineCode","value":"\"mail\": true","line":29},{"type":"text","value":".","line":29}],"line":29}],"line":29}],"line":20}],"line":19,"endLine":30},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":32}],"line":32},{"type":"paragraph","children":[{"type":"text","value":"The instance sends mail itself. When a flow waits for an approval, each member who may decide it gets a mail with a link of their own: the members of the tenant who hold ","line":34},{"type":"inlineCode","value":"approval:write","line":34},{"type":"text","value":" in the workspace and, when the step names groups or roles, are among them. Suspended and disabled members are not mailed, nor is an operator inside the tenant on an access grant. At most 50 are mailed for one step; the rest see it in the console.","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"A link:","line":36}],"line":36},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"is the approver's own, and enough by itself: it opens a page with what is asked and Approve and Reject, with no sign-in. Opening it decides nothing, so a mail scanner that fetches links does no harm;","line":38}],"line":38},{"type":"listItem","children":[{"type":"text","value":"works once, and only until 48 hours have passed, the step's own timeout comes, or anyone decides the approval. Then every link to it stops working;","line":39}],"line":39},{"type":"listItem","children":[{"type":"text","value":"is checked again when used: a member suspended, or no longer allowed to decide, since the mail went out is refused.","line":40}],"line":40}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"A forwarded link can be used once by whoever holds it, and decides as the approver it was sent to. The decision is recorded as that member's, with ","line":42},{"type":"inlineCode","value":"via: \"email\"","line":42},{"type":"text","value":" in the audit log.","line":42}],"line":42},{"type":"paragraph","children":[{"type":"text","value":"A tenant sends mail from its flows through its own ","line":44},{"type":"inlineCode","value":"smtp","line":44},{"type":"text","value":" connection, made by a worker. The instance's ","line":44},{"type":"inlineCode","value":"SMTP_URL","line":44},{"type":"text","value":" is not used for that, and the mail server must be reachable from where workers run.","line":44}],"line":44},{"type":"heading","depth":2,"id":"what-mail-proves","children":[{"type":"text","value":"What mail proves","line":46}],"line":46},{"type":"paragraph","children":[{"type":"text","value":"An address a person types is not one they own. When a tenant lets people create their own account, what happens depends on whether the instance sends mail.","line":48}],"line":48},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"With mail.","line":50}],"line":50},{"type":"text","value":" Sign-up makes the account and mails a link to the address, good for 48 hours. It signs nobody in. The link opens a page with ","line":50},{"type":"strong","children":[{"type":"text","value":"Finish and sign in","line":50}],"line":50},{"type":"text","value":", and only that button uses the link, so a mail scanner that opens the link does not spend it. Until the button is pressed, a sign-in with the right password is refused (\"Your email address is not proved yet. A new link has gone to …\"; the API answers 403 ","line":50},{"type":"inlineCode","value":"email_unproved","line":50},{"type":"text","value":"). Each such attempt mails a new link and ends the older one. A wrong password only says the email or the password is wrong. The API's sign-up answers 202 with ","line":50},{"type":"inlineCode","value":"awaitingProof","line":50},{"type":"text","value":", ","line":50},{"type":"inlineCode","value":"email","line":50},{"type":"text","value":" and ","line":50},{"type":"inlineCode","value":"sent","line":50},{"type":"text","value":".","line":50}],"line":50},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Without mail.","line":52}],"line":52},{"type":"text","value":" Sign-up signs the person in at once, as before, and the address stays ","line":52},{"type":"strong","children":[{"type":"text","value":"unproved","line":52}],"line":52},{"type":"text","value":".","line":52}],"line":52},{"type":"paragraph","children":[{"type":"text","value":"What proves an address, with mail: using the sign-up link, or using an invitation or reset link that was mailed. A link a member of staff copied from the console and passed on does not prove it. An identity provider that vouches for the address proves it too, and so does a directory's SCIM push on the same terms. See ","line":54},{"type":"link","href":"../../../develop/explanation/apps/app-access","children":[{"type":"text","value":"What proves an end user's email address","line":54}],"line":54},{"type":"text","value":". Once proved, an address stays proved.","line":54}],"line":54},{"type":"paragraph","children":[{"type":"text","value":"What mail also changes:","line":56}],"line":56},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An invitation made in the console is emailed. The account has no password until its link is opened, so whoever opens it is someone who can read that mailbox. Without mail, the person who made the invitation passes the link on.","line":58}],"line":58},{"type":"listItem","children":[{"type":"text","value":"\"Forgot your password\" sends a reset link to the address. The owner of an address can use it to take back an account someone else made with it: using the link sets a new password and signs out every session of the account. Without mail, the page tells people to ask.","line":59}],"line":59}],"line":58},{"type":"paragraph","children":[{"type":"text","value":"Accounts made before the proof existed are unproved until one of these happens.","line":61}],"line":61},{"type":"paragraph","children":[{"type":"text","value":"An app sees the result. The built-in attribute ","line":63},{"type":"inlineCode","value":"email","line":63},{"type":"text","value":" holds an end user's address once it is proved, and is missing before. A table rule that matches ","line":63},{"type":"inlineCode","value":"email","line":63},{"type":"text","value":" therefore matches only proved addresses. Without mail, nobody who signs up is proved, so such a rule matches none of them: invite them from the console (see ","line":63},{"type":"link","href":"../../../administer/how-to/access/invite-end-users","children":[{"type":"text","value":"Invite end users","line":63}],"line":63},{"type":"text","value":") or have them sign in through an identity provider. Do not key an app's rules, or a script's or a flow's decisions, on the address as typed. Rules that name a person by their ID, a group or an attribute you set are not affected.","line":63}],"line":63},{"type":"heading","depth":2,"id":"try-mail-without-a-server","children":[{"type":"text","value":"Try mail without a server","line":65}],"line":65},{"type":"paragraph","children":[{"type":"inlineCode","value":"MAIL_CAPTURE_DIR=/some/folder","line":67},{"type":"text","value":" writes each message the instance would send to a file there (","line":67},{"type":"inlineCode","value":"To:","line":67},{"type":"text","value":", ","line":67},{"type":"inlineCode","value":"Subject:","line":67},{"type":"text","value":", then the text), readable, and sends nothing. It overrides ","line":67},{"type":"inlineCode","value":"SMTP_URL","line":67},{"type":"text","value":", and ","line":67},{"type":"strong","children":[{"type":"text","value":"Instance","line":67}],"line":67},{"type":"text","value":", then ","line":67},{"type":"strong","children":[{"type":"text","value":"Health","line":67}],"line":67},{"type":"text","value":", says \"Written to files, for development\". The instance warns in its log when it starts. It is for development and tests, never for an instance people use: the files hold one-time links. The Compose file does not pass ","line":67},{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":67},{"type":"text","value":", so use it on an instance you start another way.","line":67}],"line":67},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":69}],"line":69},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"People who sign up are not getting their link.","line":71}],"line":71},{"type":"text","value":" The sign-up page says the link could not be sent. Check ","line":71},{"type":"inlineCode","value":"SMTP_URL","line":71},{"type":"text","value":", ","line":71},{"type":"inlineCode","value":"MAIL_FROM","line":71},{"type":"text","value":" and the log. Signing in with the password sends a new link.","line":71}],"line":71},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Invitations are not arriving.","line":72}],"line":72},{"type":"text","value":" Check ","line":72},{"type":"inlineCode","value":"SMTP_URL","line":72},{"type":"text","value":", ","line":72},{"type":"inlineCode","value":"MAIL_FROM","line":72},{"type":"text","value":" and the instance's log, which names the address that could not be sent to.","line":72}],"line":72},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The log says \"MAIL_CAPTURE_DIR is set: mail is written to files there and nothing is sent. For development only\".","line":73}],"line":73},{"type":"text","value":" Remove ","line":73},{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":73},{"type":"text","value":".","line":73}],"line":73},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"A tenant's flow cannot send mail.","line":74}],"line":74},{"type":"text","value":" That is the tenant's ","line":74},{"type":"inlineCode","value":"smtp","line":74},{"type":"text","value":" connection, not this setting.","line":74}],"line":74}],"line":71},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":76},{"type":"link","href":"../../reference/settings","children":[{"type":"text","value":"Settings","line":76}],"line":76},{"type":"text","value":".","line":76}],"line":76}]},"description":"Give the instance a mail server so it sends invitations, reset links and approval mail, and try mail without a server."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/reference/console/health","title":"Instance health","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"The ","line":11},{"type":"strong","children":[{"type":"text","value":"Health","line":11}],"line":11},{"type":"text","value":" screen shows whether the replica that answered the page is ready, how a master key rotation stands, what that replica read from its environment, and how to scrape its metrics. It shows no secret: where a value is secret it says only whether it is set. It is in the ","line":11},{"type":"strong","children":[{"type":"text","value":"Instance","line":11}],"line":11},{"type":"text","value":" area. F1 (","line":11},{"type":"strong","children":[{"type":"text","value":"Help for this page","line":11}],"line":11},{"type":"text","value":") opens the help topic ","line":11},{"type":"inlineCode","value":"volvel-instance-health","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"The screen is about one replica, the one the request reached. Another replica may be set differently. Ask each one, or read each one's ","line":13},{"type":"inlineCode","value":"/api/v1/readyz","line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"component","name":"screenshot","form":"leaf","props":{"name":"self-host/instance-health","alt":"The Health screen: Ready with the database and object store answering, the version and migration level, then the master key fingerprints, this replica's settings and the metrics section."},"children":[],"line":15},{"type":"paragraph","children":[{"type":"text","value":"The title is ","line":17},{"type":"strong","children":[{"type":"text","value":"Health","line":17}],"line":17},{"type":"text","value":". The description reads \"Whether this replica is ready, its keys, and what it is set to.\" The screen has four sections, in this order.","line":17}],"line":17},{"type":"heading","depth":2,"id":"health","children":[{"type":"text","value":"Health","line":19}],"line":19},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":21},{"type":"strong","children":[{"type":"text","value":"Health","line":21}],"line":21},{"type":"text","value":", with the button ","line":21},{"type":"strong","children":[{"type":"text","value":"Check again","line":21}],"line":21},{"type":"text","value":". The screen asks ","line":21},{"type":"inlineCode","value":"/api/v1/readyz","line":21},{"type":"text","value":" when it opens, every 15 seconds while it is open, and when ","line":21},{"type":"strong","children":[{"type":"text","value":"Check again","line":21}],"line":21},{"type":"text","value":" is pressed.","line":21}],"line":21},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":23}]}],"line":23},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Ready","line":25}],"line":25},{"type":"text","value":" / ","line":25},{"type":"strong","children":[{"type":"text","value":"Not ready","line":25}],"line":25}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Ready","line":25}],"line":25},{"type":"text","value":" with \"This replica takes requests.\" when the database and the object store both answer. ","line":25},{"type":"strong","children":[{"type":"text","value":"Not ready","line":25}],"line":25},{"type":"text","value":" with \"This replica answers 503 to /readyz, so a load balancer takes it out.\" when either does not. Then \"Checked TIME.\"","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Database","line":26}],"line":26}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Answers","line":26}],"line":26},{"type":"text","value":" with how long it took in milliseconds, or ","line":26},{"type":"strong","children":[{"type":"text","value":"Down","line":26}],"line":26},{"type":"text","value":" with the kind of failure. When the database answers but takes no writes, a ","line":26},{"type":"strong","children":[{"type":"text","value":"Takes no writes","line":26}],"line":26},{"type":"text","value":" tag is added and a notice reads \"The database answers but takes no writes, such as when its disk is full. Reads are served and every change is refused until it takes writes again.\"","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Object store","line":27}],"line":27}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Answers","line":27}],"line":27},{"type":"text","value":" or ","line":27},{"type":"strong","children":[{"type":"text","value":"Down","line":27}],"line":27},{"type":"text","value":" with the kind of failure. No time is shown for it.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Version","line":28}],"line":28}]},{"type":"tableCell","children":[{"type":"text","value":"The version of the control plane, in code style.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Migration level","line":29}],"line":29}]},{"type":"tableCell","children":[{"type":"text","value":"The number of the last database migration the instance has applied.","line":29}]}],"line":29}],"line":23},{"type":"paragraph","children":[{"type":"text","value":"Each check is allowed 3 seconds, and \"timed out\" is a failure. The failure says only the kind of error: the cause is in the instance's log. A database that takes no writes still answers ","line":31},{"type":"inlineCode","value":"/readyz","line":31},{"type":"text","value":" with 200 and ","line":31},{"type":"inlineCode","value":"readOnly: true","line":31},{"type":"text","value":", so a load balancer keeps the replica in. While it is so, a strip on every screen says \"The instance is read only.\" with \"The database is taking no changes for now: its disk may be full, or it is in maintenance. Reading still works. An operator of this instance can look at its Health screen or run ","line":31},{"type":"inlineCode","value":"volvel status","line":31},{"type":"text","value":".\" The strip is asked for every 30 seconds. Every settings ","line":31},{"type":"strong","children":[{"type":"text","value":"Save","line":31}],"line":31},{"type":"text","value":" bar and every create dialog is disabled with that reason. Other buttons stay, and the server refuses a change with 503 ","line":31},{"type":"inlineCode","value":"read_only","line":31},{"type":"text","value":" and ","line":31},{"type":"inlineCode","value":"retry-after: 30","line":31},{"type":"text","value":". The queue, background work and managed workers stop and start again by themselves when writes return. ","line":31},{"type":"inlineCode","value":"volvel status","line":31},{"type":"text","value":" prints \"Read only: …\".","line":31}],"line":31},{"type":"paragraph","children":[{"type":"text","value":"If the screen cannot reach the instance at all, a red notice reads \"The instance did not answer.\"","line":33}],"line":33},{"type":"paragraph","children":[{"type":"inlineCode","value":"/api/v1/healthz","line":35},{"type":"text","value":" answers 200 whenever the process serves requests. ","line":35},{"type":"inlineCode","value":"/api/v1/readyz","line":35},{"type":"text","value":" and ","line":35},{"type":"inlineCode","value":"/api/v1/healthz","line":35},{"type":"text","value":" are public and are not traced. ","line":35},{"type":"inlineCode","value":"/api/v1/instance","line":35},{"type":"text","value":" is public too and gives the version, the migration level, the apps address, whether mail is set up and the public URL.","line":35}],"line":35},{"type":"heading","depth":2,"id":"master-key","children":[{"type":"text","value":"Master key","line":37}],"line":37},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":39},{"type":"strong","children":[{"type":"text","value":"Master key","line":39}],"line":39},{"type":"text","value":". It says where a rotation stands. It changes nothing.","line":39}],"line":39},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"MASTER_KEY","line":43}],"line":43}]},{"type":"tableCell","children":[{"type":"text","value":"The key's fingerprint: the start of a hash of the key, enough to tell two keys apart and nothing more.","line":43}]}],"line":43},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"MASTER_KEY_SECONDARY","line":44}],"line":44}]},{"type":"tableCell","children":[{"type":"text","value":"The second key's fingerprint, or \"Not set\".","line":44}]}],"line":44}],"line":41},{"type":"paragraph","children":[{"type":"text","value":"Below them, one of three notices:","line":46}],"line":46},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"With no second key: \"No second key is set, so no rotation is under way.\" It adds \"N sealed values cannot be opened with this key.\" if any value cannot be opened.","line":48}],"line":48},{"type":"listItem","children":[{"type":"text","value":"With a second key that still seals values: \"Still sealed with the second key: N in PLACE, ... Run ","line":49},{"type":"inlineCode","value":"rekey","line":49},{"type":"text","value":" where the instance runs, then keep the second key until this says it can go.\" It adds \"N values open with neither key.\" when there are such.","line":49}],"line":49},{"type":"listItem","children":[{"type":"text","value":"With a second key that seals nothing: \"Nothing is sealed with the second key any more. MASTER_KEY_SECONDARY can be removed from the environment.\"","line":50}],"line":50}],"line":48},{"type":"paragraph","children":[{"type":"text","value":"A value that no key opens is listed under the notice as its place and ID (the first 20). The command is ","line":52},{"type":"inlineCode","value":"node dist/main.js rekey","line":52},{"type":"text","value":"; it exits 1 if a value opens with neither key.","line":52}],"line":52},{"type":"heading","depth":2,"id":"this-replicas-settings","children":[{"type":"text","value":"This replica's settings","line":54}],"line":54},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":56},{"type":"strong","children":[{"type":"text","value":"This replica's settings","line":56}],"line":56},{"type":"text","value":", under \"What the process that answered this page read from its environment. Another replica may be set differently. No secret is shown, only whether it is set.\" It lists:","line":56}],"line":56},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":58}]}],"line":58},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Workers","line":60}],"line":60}]},{"type":"tableCell","children":[{"type":"text","value":"\"Started in a worker host\" (","line":60},{"type":"inlineCode","value":"MANAGED_WORKERS=host","line":60},{"type":"text","value":"), \"Started beside the control plane, for code only operators write\" (","line":60},{"type":"inlineCode","value":"process","line":60},{"type":"text","value":"), or \"None started here: standalone workers ask for work\".","line":60}]}],"line":60},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Run slots","line":61}],"line":61},{"type":"text","value":", ","line":61},{"type":"strong","children":[{"type":"text","value":"Memory floor","line":61}],"line":61},{"type":"text","value":", ","line":61},{"type":"strong","children":[{"type":"text","value":"Most workers alive","line":61}],"line":61}]},{"type":"tableCell","children":[{"type":"text","value":"The value set, or \"Not set: worked out from this machine\".","line":61}]}],"line":61},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Database pools","line":62}],"line":62}]},{"type":"tableCell","children":[{"type":"text","value":"\"N for Volvel's own work, N for rows\", and \", N for one tenant at once\" when ","line":62},{"type":"inlineCode","value":"DATA_TENANT_CONNECTIONS","line":62},{"type":"text","value":" is set.","line":62}]}],"line":62},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Time limits","line":63}],"line":63}]},{"type":"tableCell","children":[{"type":"text","value":"\"N s for a data operation, N s for a query\".","line":63}]}],"line":63},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Schedule backlog","line":64}],"line":64}]},{"type":"tableCell","children":[{"type":"text","value":"\"No limit\", or \"A schedule skips its time past N queued runs\".","line":64}]}],"line":64},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Triggers","line":65}],"line":65}]},{"type":"tableCell","children":[{"type":"text","value":"\"Paused by TRIGGERS_PAUSED where the instance runs\", or \"Not paused by the environment\". This is the environment only: a pause made on ","line":65},{"type":"link","href":"triggers","children":[{"type":"text","value":"Triggers","line":65}],"line":65},{"type":"text","value":" is not shown here.","line":65}]}],"line":65},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Kept: runs","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: events","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: refusals","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: audit log","line":66}],"line":66}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's default retention, in days. A tenant may set its own.","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Address","line":67}],"line":67}]},{"type":"tableCell","children":[{"type":"text","value":"The public URL.","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Apps","line":68}],"line":68}]},{"type":"tableCell","children":[{"type":"text","value":"\"At their own address, URL\", \"At the console's address, by the operator's choice\", or \"Not served yet: set APPS_URL\".","line":68}]}],"line":68},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Mail","line":69}],"line":69}]},{"type":"tableCell","children":[{"type":"text","value":"\"Not set up: nobody is mailed\", \"Written to files, for development\", or \"Sent from ADDRESS\".","line":69}]}],"line":69},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Reachable networks","line":70}],"line":70}]},{"type":"tableCell","children":[{"type":"text","value":"\"Only public addresses\", or the networks and hosts allowed besides.","line":70}]}],"line":70},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Proxies trusted","line":71}],"line":71}]},{"type":"tableCell","children":[{"type":"text","value":"\"None\", \"N in front\", or the list of addresses.","line":71}]}],"line":71}],"line":58},{"type":"heading","depth":2,"id":"metrics","children":[{"type":"text","value":"Metrics","line":73}],"line":73},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":75},{"type":"strong","children":[{"type":"text","value":"Metrics","line":75}],"line":75},{"type":"text","value":". It says that ","line":75},{"type":"inlineCode","value":"/api/v1/metrics","line":75},{"type":"text","value":" gives every series in Prometheus text format, each starting ","line":75},{"type":"inlineCode","value":"volvel_","line":75},{"type":"text","value":": runs by state, queue depth, workers and slots, request counts and times, database pools and the background loop. It is read with an operator's API key (","line":75},{"type":"inlineCode","value":"instance:read","line":75},{"type":"text","value":"), or by a scraper that sends ","line":75},{"type":"inlineCode","value":"Authorization: Bearer <METRICS_TOKEN>","line":75},{"type":"text","value":".","line":75}],"line":75},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":77}]}],"line":77},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Scraper token","line":79}],"line":79}]},{"type":"tableCell","children":[{"type":"text","value":"\"Set (METRICS_TOKEN)\", or \"Not set: only an operator's key reads it\".","line":79}]}],"line":79},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Tenant and workspace labels","line":80}],"line":80}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Yes","line":80}],"line":80},{"type":"text","value":" or ","line":80},{"type":"strong","children":[{"type":"text","value":"No","line":80}],"line":80},{"type":"text","value":".","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Also sent by OTLP","line":81}],"line":81}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Yes","line":81}],"line":81},{"type":"text","value":" or ","line":81},{"type":"strong","children":[{"type":"text","value":"No","line":81}],"line":81},{"type":"text","value":".","line":81}]}],"line":81}],"line":77},{"type":"heading","depth":2,"id":"states","children":[{"type":"text","value":"States","line":83}],"line":83},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"State","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"What you see","line":85}]}],"line":85},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Loading","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"Each section shows its own loading state.","line":87}]}],"line":87},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A section does not load","line":88}]},{"type":"tableCell","children":[{"type":"text","value":"The master key, settings and metrics sections each show an error state with a retry; the others stay.","line":88}]}],"line":88},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Not ready","line":89}]},{"type":"tableCell","children":[{"type":"text","value":"The pill reads ","line":89},{"type":"strong","children":[{"type":"text","value":"Not ready","line":89}],"line":89},{"type":"text","value":" and the failed part reads ","line":89},{"type":"strong","children":[{"type":"text","value":"Down","line":89}],"line":89},{"type":"text","value":" with the kind of failure.","line":89}]}],"line":89},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Read only database","line":90}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Takes no writes","line":90}],"line":90},{"type":"text","value":" and the notice described above, and the strip on every screen.","line":90}]}],"line":90},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Not an operator","line":91}]},{"type":"tableCell","children":[{"type":"text","value":"A person who is not an operator who opens ","line":91},{"type":"inlineCode","value":"/instance/health","line":91},{"type":"text","value":" sees \"For operators\".","line":91}]}],"line":91}],"line":85},{"type":"heading","depth":2,"id":"permissions","children":[{"type":"text","value":"Permissions","line":93}],"line":93},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Action","line":95}]},{"type":"tableCell","children":[{"type":"text","value":"Needs","line":95}]}],"line":95},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"See the ","line":97},{"type":"strong","children":[{"type":"text","value":"Master key","line":97}],"line":97},{"type":"text","value":" and ","line":97},{"type":"strong","children":[{"type":"text","value":"This replica's settings","line":97}],"line":97},{"type":"text","value":" sections","line":97}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"instance:read","line":97},{"type":"text","value":" at the instance.","line":97}]}],"line":97},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Check again","line":98}],"line":98},{"type":"text","value":", and the readiness lines","line":98}]},{"type":"tableCell","children":[{"type":"text","value":"Nothing: ","line":98},{"type":"inlineCode","value":"/api/v1/readyz","line":98},{"type":"text","value":" is public.","line":98}]}],"line":98}],"line":95},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":100}],"line":100},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"triggers","children":[{"type":"text","value":"Triggers","line":102}],"line":102},{"type":"text","value":": the pause made from the console.","line":102}],"line":102},{"type":"listItem","children":[{"type":"link","href":"tenants","children":[{"type":"text","value":"All tenants","line":103}],"line":103},{"type":"text","value":": the per-tenant worker switch.","line":103}],"line":103},{"type":"listItem","children":[{"type":"link","href":"audit-log","children":[{"type":"text","value":"Instance audit log","line":104}],"line":104},{"type":"text","value":": ","line":104},{"type":"inlineCode","value":"instance.rekeyed","line":104},{"type":"text","value":" and ","line":104},{"type":"inlineCode","value":"instance.data_role_rekeyed","line":104},{"type":"text","value":".","line":104}],"line":104}],"line":102}]},"description":"Every section, line and state of the Health screen: readiness of the database and object store, the master key and its rotation, what this replica is set to, and the metrics endpoint."}
|
|
1
|
+
{"path":"self-host/reference/console/health","title":"Instance health","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"The ","line":11},{"type":"strong","children":[{"type":"text","value":"Health","line":11}],"line":11},{"type":"text","value":" screen shows whether the replica that answered the page is ready, how a master key rotation stands, what that replica read from its environment, and how to scrape its metrics. It shows no secret: where a value is secret it says only whether it is set. It is in the ","line":11},{"type":"strong","children":[{"type":"text","value":"Instance","line":11}],"line":11},{"type":"text","value":" area. F1 (","line":11},{"type":"strong","children":[{"type":"text","value":"Help for this page","line":11}],"line":11},{"type":"text","value":") opens the help topic ","line":11},{"type":"inlineCode","value":"volvel-instance-health","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"The screen is about one replica, the one the request reached. Another replica may be set differently. Ask each one, or read each one's ","line":13},{"type":"inlineCode","value":"/api/v1/readyz","line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"component","name":"screenshot","form":"leaf","props":{"name":"self-host/instance-health","alt":"The Health screen: Ready with the database and object store answering, the version and migration level, then the master key fingerprints, this replica's settings and the metrics section."},"children":[],"line":15},{"type":"paragraph","children":[{"type":"text","value":"The title is ","line":17},{"type":"strong","children":[{"type":"text","value":"Health","line":17}],"line":17},{"type":"text","value":". The description reads \"Whether this replica is ready, its keys, and what it is set to.\" The screen has four sections, in this order.","line":17}],"line":17},{"type":"heading","depth":2,"id":"health","children":[{"type":"text","value":"Health","line":19}],"line":19},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":21},{"type":"strong","children":[{"type":"text","value":"Health","line":21}],"line":21},{"type":"text","value":", with the button ","line":21},{"type":"strong","children":[{"type":"text","value":"Check again","line":21}],"line":21},{"type":"text","value":". The screen asks ","line":21},{"type":"inlineCode","value":"/api/v1/readyz","line":21},{"type":"text","value":" when it opens, every 15 seconds while it is open, and when ","line":21},{"type":"strong","children":[{"type":"text","value":"Check again","line":21}],"line":21},{"type":"text","value":" is pressed.","line":21}],"line":21},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":23}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":23}]}],"line":23},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Ready","line":25}],"line":25},{"type":"text","value":" / ","line":25},{"type":"strong","children":[{"type":"text","value":"Not ready","line":25}],"line":25}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Ready","line":25}],"line":25},{"type":"text","value":" with \"This replica takes requests.\" when the database and the object store both answer. ","line":25},{"type":"strong","children":[{"type":"text","value":"Not ready","line":25}],"line":25},{"type":"text","value":" with \"This replica answers 503 to /readyz, so a load balancer takes it out.\" when either does not. Then \"Checked TIME.\"","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Database","line":26}],"line":26}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Answers","line":26}],"line":26},{"type":"text","value":" with how long it took in milliseconds, or ","line":26},{"type":"strong","children":[{"type":"text","value":"Down","line":26}],"line":26},{"type":"text","value":" with the kind of failure. When the database answers but takes no writes, a ","line":26},{"type":"strong","children":[{"type":"text","value":"Takes no writes","line":26}],"line":26},{"type":"text","value":" tag is added and a notice reads \"The database answers but takes no writes, such as when its disk is full. Reads are served and every change is refused until it takes writes again.\"","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Object store","line":27}],"line":27}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Answers","line":27}],"line":27},{"type":"text","value":" or ","line":27},{"type":"strong","children":[{"type":"text","value":"Down","line":27}],"line":27},{"type":"text","value":" with the kind of failure. No time is shown for it.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Version","line":28}],"line":28}]},{"type":"tableCell","children":[{"type":"text","value":"The version of the control plane, in code style.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Migration level","line":29}],"line":29}]},{"type":"tableCell","children":[{"type":"text","value":"The number of the last database migration the instance has applied.","line":29}]}],"line":29}],"line":23},{"type":"paragraph","children":[{"type":"text","value":"Each check is allowed 3 seconds, and \"timed out\" is a failure. The failure says only the kind of error: the cause is in the instance's log. A database that takes no writes still answers ","line":31},{"type":"inlineCode","value":"/readyz","line":31},{"type":"text","value":" with 200 and ","line":31},{"type":"inlineCode","value":"readOnly: true","line":31},{"type":"text","value":", so a load balancer keeps the replica in. While it is so, a strip on every screen says \"The instance is read only.\" with \"The database is taking no changes for now: its disk may be full, or it is in maintenance. Reading still works. An operator of this instance can look at its Health screen or run ","line":31},{"type":"inlineCode","value":"volvel status","line":31},{"type":"text","value":".\" The strip is asked for every 30 seconds. Every settings ","line":31},{"type":"strong","children":[{"type":"text","value":"Save","line":31}],"line":31},{"type":"text","value":" bar and every create dialog is disabled with that reason. Other buttons stay, and the server refuses a change with 503 ","line":31},{"type":"inlineCode","value":"read_only","line":31},{"type":"text","value":" and ","line":31},{"type":"inlineCode","value":"retry-after: 30","line":31},{"type":"text","value":". The queue, background work and managed workers stop and start again by themselves when writes return. ","line":31},{"type":"inlineCode","value":"volvel status","line":31},{"type":"text","value":" prints \"Read only: …\".","line":31}],"line":31},{"type":"paragraph","children":[{"type":"text","value":"If the screen cannot reach the instance at all, a red notice reads \"The instance did not answer.\"","line":33}],"line":33},{"type":"paragraph","children":[{"type":"inlineCode","value":"/api/v1/healthz","line":35},{"type":"text","value":" answers 200 whenever the process serves requests. ","line":35},{"type":"inlineCode","value":"/api/v1/readyz","line":35},{"type":"text","value":" and ","line":35},{"type":"inlineCode","value":"/api/v1/healthz","line":35},{"type":"text","value":" are public and are not traced. ","line":35},{"type":"inlineCode","value":"/api/v1/instance","line":35},{"type":"text","value":" is public too and gives the version, the migration level, the apps address, whether mail is set up and the public URL.","line":35}],"line":35},{"type":"heading","depth":2,"id":"master-key","children":[{"type":"text","value":"Master key","line":37}],"line":37},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":39},{"type":"strong","children":[{"type":"text","value":"Master key","line":39}],"line":39},{"type":"text","value":". It says where a rotation stands. It changes nothing.","line":39}],"line":39},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"MASTER_KEY","line":43}],"line":43}]},{"type":"tableCell","children":[{"type":"text","value":"The key's fingerprint: the start of a hash of the key, enough to tell two keys apart and nothing more.","line":43}]}],"line":43},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"MASTER_KEY_SECONDARY","line":44}],"line":44}]},{"type":"tableCell","children":[{"type":"text","value":"The second key's fingerprint, or \"Not set\".","line":44}]}],"line":44}],"line":41},{"type":"paragraph","children":[{"type":"text","value":"Below them, one of three notices:","line":46}],"line":46},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"With no second key: \"No second key is set, so no rotation is under way.\" It adds \"N sealed values cannot be opened with this key.\" if any value cannot be opened.","line":48}],"line":48},{"type":"listItem","children":[{"type":"text","value":"With a second key that still seals values: \"Still sealed with the second key: N in PLACE, ... Run ","line":49},{"type":"inlineCode","value":"rekey","line":49},{"type":"text","value":" where the instance runs, then keep the second key until this says it can go.\" It adds \"N values open with neither key.\" when there are such.","line":49}],"line":49},{"type":"listItem","children":[{"type":"text","value":"With a second key that seals nothing: \"Nothing is sealed with the second key any more. MASTER_KEY_SECONDARY can be removed from the environment.\"","line":50}],"line":50}],"line":48},{"type":"paragraph","children":[{"type":"text","value":"A value that no key opens is listed under the notice as its place and ID (the first 20). The command is ","line":52},{"type":"inlineCode","value":"node dist/main.js rekey","line":52},{"type":"text","value":"; it exits 1 if a value opens with neither key.","line":52}],"line":52},{"type":"heading","depth":2,"id":"this-replicas-settings","children":[{"type":"text","value":"This replica's settings","line":54}],"line":54},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":56},{"type":"strong","children":[{"type":"text","value":"This replica's settings","line":56}],"line":56},{"type":"text","value":", under \"What the process that answered this page read from its environment. Another replica may be set differently. No secret is shown, only whether it is set.\" It lists:","line":56}],"line":56},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":58}]}],"line":58},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Workers","line":60}],"line":60}]},{"type":"tableCell","children":[{"type":"text","value":"\"Started in a worker host\" (","line":60},{"type":"inlineCode","value":"MANAGED_WORKERS=host","line":60},{"type":"text","value":"), \"Started beside the control plane, for code only operators write\" (","line":60},{"type":"inlineCode","value":"process","line":60},{"type":"text","value":"), or \"None started here: standalone workers ask for work\".","line":60}]}],"line":60},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Run slots","line":61}],"line":61},{"type":"text","value":", ","line":61},{"type":"strong","children":[{"type":"text","value":"Memory floor","line":61}],"line":61},{"type":"text","value":", ","line":61},{"type":"strong","children":[{"type":"text","value":"Most workers alive","line":61}],"line":61}]},{"type":"tableCell","children":[{"type":"text","value":"The value set, or \"Not set: worked out from this machine\".","line":61}]}],"line":61},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Database pools","line":62}],"line":62}]},{"type":"tableCell","children":[{"type":"text","value":"\"N for Volvel's own work, N for rows\", and \", N for one tenant at once\" when ","line":62},{"type":"inlineCode","value":"DATA_TENANT_CONNECTIONS","line":62},{"type":"text","value":" is set.","line":62}]}],"line":62},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Time limits","line":63}],"line":63}]},{"type":"tableCell","children":[{"type":"text","value":"\"N s for a data operation, N s for a query\".","line":63}]}],"line":63},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Schedule backlog","line":64}],"line":64}]},{"type":"tableCell","children":[{"type":"text","value":"\"No limit\", or \"A schedule skips its time past N queued runs\".","line":64}]}],"line":64},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Triggers","line":65}],"line":65}]},{"type":"tableCell","children":[{"type":"text","value":"\"Paused by TRIGGERS_PAUSED where the instance runs\", or \"Not paused by the environment\". This is the environment only: a pause made on ","line":65},{"type":"link","href":"triggers","children":[{"type":"text","value":"Triggers","line":65}],"line":65},{"type":"text","value":" is not shown here.","line":65}]}],"line":65},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Kept: runs","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: events","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: refusals","line":66}],"line":66},{"type":"text","value":", ","line":66},{"type":"strong","children":[{"type":"text","value":"Kept: audit log","line":66}],"line":66}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's default retention, in days. A tenant may set its own.","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Address","line":67}],"line":67}]},{"type":"tableCell","children":[{"type":"text","value":"The public URL.","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Apps","line":68}],"line":68}]},{"type":"tableCell","children":[{"type":"text","value":"\"At the console's address, each app sandboxed\" or \"At their own address, URL\".","line":68}]}],"line":68},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Mail","line":69}],"line":69}]},{"type":"tableCell","children":[{"type":"text","value":"\"Not set up: nobody is mailed\", \"Written to files, for development\", or \"Sent from ADDRESS\".","line":69}]}],"line":69},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Reachable networks","line":70}],"line":70}]},{"type":"tableCell","children":[{"type":"text","value":"\"Only public addresses\", or the networks and hosts allowed besides.","line":70}]}],"line":70},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Proxies trusted","line":71}],"line":71}]},{"type":"tableCell","children":[{"type":"text","value":"\"None\", \"N in front\", or the list of addresses.","line":71}]}],"line":71}],"line":58},{"type":"heading","depth":2,"id":"metrics","children":[{"type":"text","value":"Metrics","line":73}],"line":73},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":75},{"type":"strong","children":[{"type":"text","value":"Metrics","line":75}],"line":75},{"type":"text","value":". It says that ","line":75},{"type":"inlineCode","value":"/api/v1/metrics","line":75},{"type":"text","value":" gives every series in Prometheus text format, each starting ","line":75},{"type":"inlineCode","value":"volvel_","line":75},{"type":"text","value":": runs by state, queue depth, workers and slots, request counts and times, database pools and the background loop. It is read with an operator's API key (","line":75},{"type":"inlineCode","value":"instance:read","line":75},{"type":"text","value":"), or by a scraper that sends ","line":75},{"type":"inlineCode","value":"Authorization: Bearer <METRICS_TOKEN>","line":75},{"type":"text","value":".","line":75}],"line":75},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Line","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":77}]}],"line":77},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Scraper token","line":79}],"line":79}]},{"type":"tableCell","children":[{"type":"text","value":"\"Set (METRICS_TOKEN)\", or \"Not set: only an operator's key reads it\".","line":79}]}],"line":79},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Tenant and workspace labels","line":80}],"line":80}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Yes","line":80}],"line":80},{"type":"text","value":" or ","line":80},{"type":"strong","children":[{"type":"text","value":"No","line":80}],"line":80},{"type":"text","value":".","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Also sent by OTLP","line":81}],"line":81}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Yes","line":81}],"line":81},{"type":"text","value":" or ","line":81},{"type":"strong","children":[{"type":"text","value":"No","line":81}],"line":81},{"type":"text","value":".","line":81}]}],"line":81}],"line":77},{"type":"heading","depth":2,"id":"figures","children":[{"type":"text","value":"Figures","line":83}],"line":83},{"type":"paragraph","children":[{"type":"text","value":"The section is ","line":85},{"type":"strong","children":[{"type":"text","value":"Figures","line":85}],"line":85},{"type":"text","value":": how the instance, every tenant together has done, drawn with the same chart, stat and table widgets as any dashboard. Figures are counted every five minutes and kept for the retention set for figures (90 days unless changed).","line":85}],"line":85},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Status","line":87}],"line":87},{"type":"text","value":", at the top: ","line":87},{"type":"strong","children":[{"type":"text","value":"Healthy","line":87}],"line":87},{"type":"text","value":", ","line":87},{"type":"strong","children":[{"type":"text","value":"Waiting","line":87}],"line":87},{"type":"text","value":" or ","line":87},{"type":"strong","children":[{"type":"text","value":"Failing","line":87}],"line":87},{"type":"text","value":", with a sentence for each reason, such as runs due with no worker to take them, runs waiting for a free run slot, or half the runs of the last 15 minutes failing. It is read from ","line":87},{"type":"inlineCode","value":"/api/v1/instance/health","line":87},{"type":"text","value":".","line":87}],"line":87},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Period","line":88}],"line":88},{"type":"text","value":": ","line":88},{"type":"strong","children":[{"type":"text","value":"Last 24 hours","line":88}],"line":88},{"type":"text","value":" (by the hour), ","line":88},{"type":"strong","children":[{"type":"text","value":"7 days","line":88}],"line":88},{"type":"text","value":" or ","line":88},{"type":"strong","children":[{"type":"text","value":"30 days","line":88}],"line":88},{"type":"text","value":" (by the day). The choice is kept in the address (","line":88},{"type":"inlineCode","value":"?figures=7d","line":88},{"type":"text","value":"), so a reload or a shared link keeps it.","line":88}],"line":88},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"Refresh","line":89}],"line":89},{"type":"text","value":" reads the figures again.","line":89}],"line":89}],"line":87},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Widget","line":91}]},{"type":"tableCell","children":[{"type":"text","value":"What it shows","line":91}]}],"line":91},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Runs ended","line":93}],"line":93}]},{"type":"tableCell","children":[{"type":"text","value":"Script runs that ended in each period, however they ended.","line":93}]}],"line":93},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Failed share","line":94}],"line":94}]},{"type":"tableCell","children":[{"type":"text","value":"The share of ended runs that did not succeed.","line":94}]}],"line":94},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Average wait (s)","line":95}],"line":95},{"type":"text","value":" and ","line":95},{"type":"strong","children":[{"type":"text","value":"Longest wait (s)","line":95}],"line":95}]},{"type":"tableCell","children":[{"type":"text","value":"How long first attempts waited from when they were due until a worker took them.","line":95}]}],"line":95},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Why runs waited","line":96}],"line":96}]},{"type":"tableCell","children":[{"type":"text","value":"Times a worker was turned away while a run was due, by reason (fair share, memory, no run slot, workspace limit), and the most runs due at once with no worker, or waiting for a busy worker.","line":96}]}],"line":96},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Requests and refusals","line":97}],"line":97}]},{"type":"tableCell","children":[{"type":"text","value":"API requests about every tenant, and those refused for any reason.","line":97}]}],"line":97},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Each tenant","line":98}],"line":98}]},{"type":"tableCell","children":[{"type":"text","value":"Runs ended, failed share, average wait, waits and refusals for each tenant.","line":98}]}],"line":98}],"line":91},{"type":"paragraph","children":[{"type":"text","value":"When nothing was counted in the period, the section says \"Nothing was counted in this period yet. Figures are counted every five minutes.\"","line":100}],"line":100},{"type":"heading","depth":2,"id":"states","children":[{"type":"text","value":"States","line":102}],"line":102},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"State","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"What you see","line":104}]}],"line":104},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Loading","line":106}]},{"type":"tableCell","children":[{"type":"text","value":"Each section shows its own loading state.","line":106}]}],"line":106},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A section does not load","line":107}]},{"type":"tableCell","children":[{"type":"text","value":"The master key, settings and metrics sections each show an error state with a retry; the others stay.","line":107}]}],"line":107},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Not ready","line":108}]},{"type":"tableCell","children":[{"type":"text","value":"The pill reads ","line":108},{"type":"strong","children":[{"type":"text","value":"Not ready","line":108}],"line":108},{"type":"text","value":" and the failed part reads ","line":108},{"type":"strong","children":[{"type":"text","value":"Down","line":108}],"line":108},{"type":"text","value":" with the kind of failure.","line":108}]}],"line":108},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Read only database","line":109}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Takes no writes","line":109}],"line":109},{"type":"text","value":" and the notice described above, and the strip on every screen.","line":109}]}],"line":109},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Not an operator","line":110}]},{"type":"tableCell","children":[{"type":"text","value":"A person who is not an operator who opens ","line":110},{"type":"inlineCode","value":"/instance/health","line":110},{"type":"text","value":" sees \"For operators\".","line":110}]}],"line":110}],"line":104},{"type":"heading","depth":2,"id":"permissions","children":[{"type":"text","value":"Permissions","line":112}],"line":112},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Action","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"Needs","line":114}]}],"line":114},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"See the ","line":116},{"type":"strong","children":[{"type":"text","value":"Master key","line":116}],"line":116},{"type":"text","value":" and ","line":116},{"type":"strong","children":[{"type":"text","value":"This replica's settings","line":116}],"line":116},{"type":"text","value":" sections","line":116}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"instance:read","line":116},{"type":"text","value":" at the instance.","line":116}]}],"line":116},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"See ","line":117},{"type":"strong","children":[{"type":"text","value":"Figures","line":117}],"line":117}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"instance:read","line":117},{"type":"text","value":" at the instance. Every tenant's figures are shown, with no access grant: they are counts and times, never rows, inputs or outputs.","line":117}]}],"line":117},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"Check again","line":118}],"line":118},{"type":"text","value":", and the readiness lines","line":118}]},{"type":"tableCell","children":[{"type":"text","value":"Nothing: ","line":118},{"type":"inlineCode","value":"/api/v1/readyz","line":118},{"type":"text","value":" is public.","line":118}]}],"line":118}],"line":114},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":120}],"line":120},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"triggers","children":[{"type":"text","value":"Triggers","line":122}],"line":122},{"type":"text","value":": the pause made from the console.","line":122}],"line":122},{"type":"listItem","children":[{"type":"link","href":"tenants","children":[{"type":"text","value":"All tenants","line":123}],"line":123},{"type":"text","value":": the per-tenant worker switch.","line":123}],"line":123},{"type":"listItem","children":[{"type":"link","href":"audit-log","children":[{"type":"text","value":"Instance audit log","line":124}],"line":124},{"type":"text","value":": ","line":124},{"type":"inlineCode","value":"instance.rekeyed","line":124},{"type":"text","value":" and ","line":124},{"type":"inlineCode","value":"instance.data_role_rekeyed","line":124},{"type":"text","value":".","line":124}],"line":124}],"line":122}]},"description":"Every section, line and state of the Health screen: readiness of the database and object store, the master key and its rotation, what this replica is set to, and the metrics endpoint."}
|