Metrics settings
Every setting below is read once at startup and requires a restart to change.
Built-in defaults are overridden by nonempty environment values.
For the first Pitot alpha, unset PITOT_ variables accept FANOUT_ equivalents with a names-only deprecation warning. Explicitly empty primary variables block fallback.
Unknown PITOT_ names fail startup; platform-injected service names are tolerated.
Vendor credentials and endpoints keep the vendor’s documented names.
| Environment variable | Type | Default |
|---|---|---|
PITOT_METRICS_PUBLIC | boolean | false |
PITOT_METRICS_TOKEN or PITOT_METRICS_TOKEN_FILE | string · secret | — |
PITOT_METRICS_PUBLIC
Section titled “PITOT_METRICS_PUBLIC”Allows unauthenticated Prometheus scrapes.
PITOT_METRICS_TOKEN
Section titled “PITOT_METRICS_TOKEN”Authorizes Prometheus scrapes with a bearer token; optional when using an admin session.