Skip to content

docs: Prometheus metrics + generator #5179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Nov 30, 2022
Prev Previous commit
Next Next commit
Typo
  • Loading branch information
mtojek committed Nov 28, 2022
commit ce7a623f2b680135f95d26f207fa0e64cced9291
2 changes: 1 addition & 1 deletion docs/admin/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Coder server exports metrics via the HTTP endpoint, which can be enabled using e

Use either the environment variable `CODER_PROMETHEUS_ADDRESS` or the flag ` --prometheus-address <network-interface>:<port>` to select a custom endpoint.

For `code server --prometheus-enable` is started locally, you can preview the metrics endpoint: <!-- markdown-link-check-disable -->http://localhost:2112/<!-- markdown-link-check-enable --> (default endpoint).
For `coder server --prometheus-enable` is started locally, you can preview the metrics endpoint: <!-- markdown-link-check-disable -->http://localhost:2112/<!-- markdown-link-check-enable --> (default endpoint).

```
# HELP coderd_api_active_users_duration_hour The number of users that have been active within the last hour.
Expand Down