68 lines
3.8 KiB
Diff
68 lines
3.8 KiB
Diff
diff --git a/kube-mixin/apiserver.json b/kube-mixin/apiserver.json
|
|
index 9830c36..1c940dc 100644
|
|
--- a/kube-mixin/apiserver.json
|
|
+++ b/kube-mixin/apiserver.json
|
|
@@ -968,7 +968,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "sum(rate(workqueue_adds_total{job=\"kube-apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
|
|
+ "expr": "sum(rate(workqueue_adds_total{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}} {{name}}",
|
|
@@ -1049,7 +1049,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "sum(rate(workqueue_depth{job=\"kube-apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
|
|
+ "expr": "sum(rate(workqueue_depth{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}} {{name}}",
|
|
@@ -1130,7 +1130,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"kube-apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))",
|
|
+ "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}} {{name}}",
|
|
@@ -1224,7 +1224,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "process_resident_memory_bytes{job=\"kube-apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
|
|
+ "expr": "process_resident_memory_bytes{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}",
|
|
@@ -1305,7 +1305,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "rate(process_cpu_seconds_total{job=\"kube-apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])",
|
|
+ "expr": "rate(process_cpu_seconds_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}",
|
|
@@ -1386,7 +1386,7 @@
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
- "expr": "go_goroutines{job=\"kube-apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
|
|
+ "expr": "go_goroutines{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}",
|
|
@@ -1490,7 +1490,7 @@
|
|
"multi": false,
|
|
"name": "instance",
|
|
"options": [ ],
|
|
- "query": "label_values(apiserver_request_total{job=\"kube-apiserver\", cluster=\"$cluster\"}, instance)",
|
|
+ "query": "label_values(apiserver_request_total{job=\"apiserver\", cluster=\"$cluster\"}, instance)",
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|