@@ -79,7 +79,7 @@ See an example of how to use the plugin in your project:
79
79
- Per-second rate of reconciliation errors as measured over the last 5 minutes
80
80
- Sample: <img width =" 1430 " src =" https://user-images.githubusercontent.com/18136486/176122555-f3493658-6c99-4ad6-a9b7-63d85620d370.png " >
81
81
82
- #### CPU & Memory Usage
82
+ #### Controller CPU & Memory Usage
83
83
84
84
- Metrics:
85
85
- process_cpu_seconds_total
@@ -92,6 +92,46 @@ See an example of how to use the plugin in your project:
92
92
- Allocated Memory for the running controller
93
93
- Sample: <img width =" 1381 " src =" https://user-images.githubusercontent.com/18136486/177239808-7d94b17d-692c-4166-8875-6d9332e05bcb.png " >
94
94
95
+ #### Seconds of P50/90/99 Items Stay in Work Queue
96
+
97
+ - Metrics
98
+ - workqueue_queue_duration_seconds_bucket
99
+ - Query:
100
+ - histogram_quantile(0.50, sum(rate(workqueue_queue_duration_seconds_bucket{job="$job", namespace="$namespace"}[ 5m] )) by (instance, name, le))
101
+ - Description
102
+ - Seconds an item stays in workqueue before being requested.
103
+ - Sample: <img width =" 920 " src =" https://user-images.githubusercontent.com/18136486/180359126-452b2a0f-a511-4ae3-844f-231d13cd27f8.png " >
104
+
105
+ #### Seconds of P50/90/99 Items Processed in Work Queue
106
+
107
+ - Metrics
108
+ - workqueue_work_duration_seconds_bucket
109
+ - Query:
110
+ - histogram_quantile(0.50, sum(rate(workqueue_work_duration_seconds_bucket{job="$job", namespace="$namespace"}[ 5m] )) by (instance, name, le))
111
+ - Description
112
+ - Seconds of processing an item from workqueue takes.
113
+ - Sample: <img width =" 912 " src =" https://user-images.githubusercontent.com/18136486/180359617-b7a59552-1e40-44f9-999f-4feb2584b2dd.png " >
114
+
115
+ #### Add Rate in Work Queue
116
+
117
+ - Metrics
118
+ - workqueue_adds_total
119
+ - Query:
120
+ - sum(rate(workqueue_adds_total{job="$job", namespace="$namespace"}[ 5m] )) by (instance, name)
121
+ - Description
122
+ - Per-second rate of items added to work queue
123
+ - Sample: <img width =" 913 " src =" https://user-images.githubusercontent.com/18136486/180360073-698b6f77-a2c4-4a95-8313-fd8745ad472f.png " >
124
+
125
+ #### Retries Rate in Work Queue
126
+
127
+ - Metrics
128
+ - workqueue_retries_total
129
+ - Query:
130
+ - sum(rate(workqueue_retries_total{job="$job", namespace="$namespace"}[ 5m] )) by (instance, name)
131
+ - Description
132
+ - Per-second rate of retries handled by workqueue
133
+ - Sample: <img width =" 914 " src =" https://user-images.githubusercontent.com/18136486/180360101-411c81e9-d54e-4b21-bbb0-e3f94fcf48cb.png " >
134
+
95
135
## Subcommands
96
136
97
137
The Grafana plugin implements the following subcommands:
0 commit comments