Skip to navigation

Metrics variables

GATEWAY_METRICS_COLLECTION_ENABLED

Determines whether a gateway server collects metrics.

Environment Variable

GATEWAY_METRICS_COLLECTION_ENABLED

File

Section: metrics

Key: collection_enabled

Default

false


GATEWAY_METRICS_ENDPOINT_ENABLED

Determines whether a gateway server exposes the /metrics endpoint for Prometheus to scrape.

Environment Variable

GATEWAY_METRICS_ENDPOINT_ENABLED

File

Section: metrics

Key: endpoint_enabled

Default

false


GATEWAY_METRICS_LISTEN_ADDRESS

Sets the address that the gateway server’s metrics endpoint listens on.

Environment Variable

GATEWAY_METRICS_LISTEN_ADDRESS

File

Section: metrics

Key: listen_address

Default

127.0.0.1


GATEWAY_METRICS_PORT

Sets the port that the gateway server’s metrics endpoint listens on.

Environment Variable

GATEWAY_METRICS_PORT

File

Section: metrics

Key: port

Default

9091