8000 docs: Prometheus metrics + generator by mtojek · Pull Request #5179 · coder/coder · GitHub
[go: up one dir, main page]

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
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/admin/prometheus.md
Co-authored-by: Dean Sheather <dean@deansheather.com>
  • Loading branch information
mtojek and deansheather authored Nov 28, 2022
commit 22908567251fb14fe40cf0afd4ec0ef0cc643d86
13 changes: 1 addition & 12 deletions docs/admin/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,10 @@ The Prometheus endpoint address is `http://localhost:2112/` by default. You can
If `coder server --prometheus-enable` is started locally, you can preview the metrics endpoint in your browser or by using curl: <!-- markdown-link-check-disable -->http://localhost:2112/<!-- markdown-link-check-enable -->.

```
$ curl http://localhost:2112/
# HELP coderd_api_active_users_duration_hour The number of users that have been active within the last hour.
# TYPE coderd_api_active_users_duration_hour gauge
coderd_api_active_users_duration_hour 0
# HELP coderd_api_concurrent_requests The number of concurrent API requests
# TYPE coderd_api_concurrent_requests gauge
coderd_api_concurrent_requests 2
# HELP coderd_api_concurrent_websockets The total number of concurrent API websockets
# TYPE coderd_api_concurrent_websockets gauge
coderd_api_concurrent_websockets 1
# HELP coderd_api_request_latencies_ms Latency distribution of requests in milliseconds
# TYPE coderd_api_request_latencies_ms histogram
coderd_api_request_latencies_ms_bucket{method="GET",path="",le="1"} 10
coderd_api_request_latencies_ms_bucket{method="GET",path="",le="5"} 13
coderd_api_request_latencies_ms_bucket{method="GET",path="",le="10"} 14
coderd_api_request_latencies_ms_bucket{method="GET",path="",le="25"} 15
...
```

Expand Down
0