Docs for prometheus

Is there any documentation for prometheus metrics ?
1 Reply
thy
thy3y ago
from coder server --help
--prometheus-address string The bind address to serve prometheus
metrics.
Consumes
$CODER_PROMETHEUS_ADDRESS (default
"127.0.0.1:2112")
--prometheus-enable Serve prometheus metrics on the address
defined by prometheus address.
Consumes
$CODER_PROMETHEUS_ENABLE
--prometheus-address string The bind address to serve prometheus
metrics.
Consumes
$CODER_PROMETHEUS_ADDRESS (default
"127.0.0.1:2112")
--prometheus-enable Serve prometheus metrics on the address
defined by prometheus address.
Consumes
$CODER_PROMETHEUS_ENABLE
you should only need to provide --prometheus-enable and it'll start prometheus on :2112

Did you find this page helpful?