Skip to content

Commit 31d58e3

Browse files
committed
update prometheus metrics for 1.36
1 parent f233d02 commit 31d58e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

admin/prometheus.md

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ Below is a list of the various metrics emitted by Coder's Prometheus endpoint:
4444
| `coderd_api_requests_processed_total` | `counter` | The total number of processed API requests |
4545
| `coderd_api_websocket_durations_ms` | `histogram` | Websocket duration distribution of requests in milliseconds |
4646
| `coderd_background_workspace_build_duration_s` | `histogram` | Duration distribution of workspace builds in seconds |
47+
| `coderd_backgroundjob_completed_total` | `counter` | Total number of jobs completed since startup. |
48+
| `coderd_backgroundjob_current_enqueued_jobs` | `gauge` | Current number of enqueued and not started background jobs. |
49+
| `coderd_backgroundjob_enqueue_time_seconds` | `histogram` | Histogram of total time taken by job type to transition from Enqueue to Running. |
50+
| `coderd_backgroundjob_enqueued_total` | `counter` | Total number of jobs enqueued. |
51+
| `coderd_backgroundjob_execution_time_seconds` | `histogram` | Histogram of total time taken by job type to transition from Running to Completed. |
52+
| `coderd_backgroundjob_started_total` | `counter` | Total number of jobs started. |
4753
| `coderd_db_sql_queries_executed_total` | `counter` | The total number of executed SQL queries |
4854
| `coderd_db_sql_query_latencies_ms` | `histogram` | Latency distribution of SQL queries in milliseconds |
4955
| `coderd_license_expires_at_unix` | `gauge` | Unix timestamp of the license expiry date. |

0 commit comments

Comments
 (0)