Skip to content

[1.36 cherry] update prometheus metrics for 1.36 #1159

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 1 commit into from
Oct 25, 2022
Merged
Changes from all commits
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
6 changes: 6 additions & 0 deletions admin/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ Below is a list of the various metrics emitted by Coder's Prometheus endpoint:
| `coderd_api_requests_processed_total` | `counter` | The total number of processed API requests |
| `coderd_api_websocket_durations_ms` | `histogram` | Websocket duration distribution of requests in milliseconds |
| `coderd_background_workspace_build_duration_s` | `histogram` | Duration distribution of workspace builds in seconds |
| `coderd_backgroundjob_completed_total` | `counter` | Total number of jobs completed since startup. |
| `coderd_backgroundjob_current_enqueued_jobs` | `gauge` | Current number of enqueued and not started background jobs. |
| `coderd_backgroundjob_enqueue_time_seconds` | `histogram` | Histogram of total time taken by job type to transition from Enqueue to Running. |
| `coderd_backgroundjob_enqueued_total` | `counter` | Total number of jobs enqueued. |
| `coderd_backgroundjob_execution_time_seconds` | `histogram` | Histogram of total time taken by job type to transition from Running to Completed. |
| `coderd_backgroundjob_started_total` | `counter` | Total number of jobs started. |
| `coderd_db_sql_queries_executed_total` | `counter` | The total number of executed SQL queries |
| `coderd_db_sql_query_latencies_ms` | `histogram` | Latency distribution of SQL queries in milliseconds |
| `coderd_license_expires_at_unix` | `gauge` | Unix timestamp of the license expiry date. |
Expand Down