Skip to content

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. Unknown FANOUT_ names fail startup; platform-injected service names are tolerated. Custom names use FANOUT_ plus a clear name, adding the area only when it clarifies. Vendor credentials and endpoints keep the vendor’s documented names.

Environment variableTypeDefault
FANOUT_METRICS_PUBLICbooleanfalse
FANOUT_METRICS_TOKEN or FANOUT_METRICS_TOKEN_FILEstring · secret—

Allows unauthenticated Prometheus scrapes.

Authorizes Prometheus scrapes with a bearer token; optional when using an admin session.