From fd174dd682e95f879d84ad75273aa72e5b05b257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Suwa=C5=82a?= Date: Wed, 31 Oct 2018 20:58:03 +0100 Subject: [PATCH 1/2] Updates list of exposed metrics --- site/monitoring.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/site/monitoring.md b/site/monitoring.md index 31012819a..a02ba048b 100644 --- a/site/monitoring.md +++ b/site/monitoring.md @@ -11,5 +11,11 @@ available from the endpoints themselves. The following metrics are exposed: -* Duration of connection to fluxsvc -* Cluster request latencies +* Duration of cache requests +* Duration of remote image metadata requests +* Duration of job execution, in seconds +* Duration of time spent in the job queue before execution +* Count of jobs waiting in the queue to be run +* Duration of git-to-cluster synchronisation +* Duration of image metadata requests (from cache) +* Duration in seconds of the current connection to fluxsvc From a48844e2f0b9ad55cf5021a3c3495bb0a0cd6cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Suwa=C5=82a?= Date: Wed, 31 Oct 2018 23:32:35 +0100 Subject: [PATCH 2/2] Extends list to table with metric names --- site/monitoring.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/site/monitoring.md b/site/monitoring.md index a02ba048b..9c38f52b9 100644 --- a/site/monitoring.md +++ b/site/monitoring.md @@ -11,11 +11,13 @@ available from the endpoints themselves. The following metrics are exposed: -* Duration of cache requests -* Duration of remote image metadata requests -* Duration of job execution, in seconds -* Duration of time spent in the job queue before execution -* Count of jobs waiting in the queue to be run -* Duration of git-to-cluster synchronisation -* Duration of image metadata requests (from cache) -* Duration in seconds of the current connection to fluxsvc +| metric | description | +|---------------------------------------|-----------------------------------------| +| `flux_cache_request_duration_seconds` | Duration of cache requests, in seconds. | +| `flux_client_fetch_duration_seconds` | Duration of remote image metadata requests | +| `flux_daemon_job_duration_seconds` | Duration of job execution, in seconds | +| `flux_daemon_queue_duration_seconds` | Duration of time spent in the job queue before execution | +| `flux_daemon_queue_length_count` | Count of jobs waiting in the queue to be run | +| `flux_daemon_sync_duration_seconds` | Duration of git-to-cluster synchronisation | +| `flux_registry_fetch_duration_seconds` | Duration of image metadata requests (from cache) | +| `flux_fluxd_connection_duration_seconds` | Duration in seconds of the current connection to fluxsvc |