|
77 | 77 | "tableColumn": "",
|
78 | 78 | "targets": [
|
79 | 79 | {
|
80 |
| - "expr": "sum(up{cluster_id=\"$cluster\", app=\"kube-controller-manager\"})", |
| 80 | + "expr": "sum(up{cluster_id=\"$cluster\", job=\"kube-controller-manager\"})", |
81 | 81 | "format": "time_series",
|
82 | 82 | "intervalFactor": 2,
|
83 | 83 | "legendFormat": "",
|
|
139 | 139 | "steppedLine": false,
|
140 | 140 | "targets": [
|
141 | 141 | {
|
142 |
| - "expr": "sum(rate(workqueue_adds_total{cluster_id=\"$cluster\", app=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name)", |
| 142 | + "expr": "sum(rate(workqueue_adds_total{cluster_id=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name)", |
143 | 143 | "format": "time_series",
|
144 | 144 | "intervalFactor": 2,
|
145 | 145 | "legendFormat": "{{cluster_id}} {{instance}} {{name}}",
|
|
234 | 234 | "steppedLine": false,
|
235 | 235 | "targets": [
|
236 | 236 | {
|
237 |
| - "expr": "sum(rate(workqueue_depth{cluster_id=\"$cluster\", app=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name)", |
| 237 | + "expr": "sum(rate(workqueue_depth{cluster_id=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name)", |
238 | 238 | "format": "time_series",
|
239 | 239 | "intervalFactor": 2,
|
240 | 240 | "legendFormat": "{{cluster_id}} {{instance}} {{name}}",
|
|
329 | 329 | "steppedLine": false,
|
330 | 330 | "targets": [
|
331 | 331 | {
|
332 |
| - "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{cluster_id=\"$cluster\", app=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name, le))", |
| 332 | + "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{cluster_id=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster_id, instance, name, le))", |
333 | 333 | "format": "time_series",
|
334 | 334 | "intervalFactor": 2,
|
335 | 335 | "legendFormat": "{{cluster_id}} {{instance}} {{name}}",
|
|
424 | 424 | "steppedLine": false,
|
425 | 425 | "targets": [
|
426 | 426 | {
|
427 |
| - "expr": "sum(rate(rest_client_requests_total{app=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))", |
| 427 | + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))", |
428 | 428 | "format": "time_series",
|
429 | 429 | "intervalFactor": 2,
|
430 | 430 | "legendFormat": "2xx",
|
431 | 431 | "refId": "A"
|
432 | 432 | },
|
433 | 433 | {
|
434 |
| - "expr": "sum(rate(rest_client_requests_total{app=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))", |
| 434 | + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))", |
435 | 435 | "format": "time_series",
|
436 | 436 | "intervalFactor": 2,
|
437 | 437 | "legendFormat": "3xx",
|
438 | 438 | "refId": "B"
|
439 | 439 | },
|
440 | 440 | {
|
441 |
| - "expr": "sum(rate(rest_client_requests_total{app=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))", |
| 441 | + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))", |
442 | 442 | "format": "time_series",
|
443 | 443 | "intervalFactor": 2,
|
444 | 444 | "legendFormat": "4xx",
|
445 | 445 | "refId": "C"
|
446 | 446 | },
|
447 | 447 | {
|
448 |
| - "expr": "sum(rate(rest_client_requests_total{app=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))", |
| 448 | + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))", |
449 | 449 | "format": "time_series",
|
450 | 450 | "intervalFactor": 2,
|
451 | 451 | "legendFormat": "5xx",
|
|
527 | 527 | "steppedLine": false,
|
528 | 528 | "targets": [
|
529 | 529 | {
|
530 |
| - "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster_id=\"$cluster\", app=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))", |
| 530 | + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster_id=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))", |
531 | 531 | "format": "time_series",
|
532 | 532 | "intervalFactor": 2,
|
533 | 533 | "legendFormat": "{{verb}} {{url}}",
|
|
622 | 622 | "steppedLine": false,
|
623 | 623 | "targets": [
|
624 | 624 | {
|
625 |
| - "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster_id=\"$cluster\", app=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))", |
| 625 | + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster_id=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))", |
626 | 626 | "format": "time_series",
|
627 | 627 | "intervalFactor": 2,
|
628 | 628 | "legendFormat": "{{verb}} {{url}}",
|
|
717 | 717 | "steppedLine": false,
|
718 | 718 | "targets": [
|
719 | 719 | {
|
720 |
| - "expr": "process_resident_memory_bytes{cluster_id=\"$cluster\", app=\"kube-controller-manager\",instance=~\"$instance\"}", |
| 720 | + "expr": "process_resident_memory_bytes{cluster_id=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}", |
721 | 721 | "format": "time_series",
|
722 | 722 | "intervalFactor": 2,
|
723 | 723 | "legendFormat": "{{instance}}",
|
|
799 | 799 | "steppedLine": false,
|
800 | 800 | "targets": [
|
801 | 801 | {
|
802 |
| - "expr": "rate(process_cpu_seconds_total{cluster_id=\"$cluster\", app=\"kube-controller-manager\",instance=~\"$instance\"}[$__rate_interval])", |
| 802 | + "expr": "rate(process_cpu_seconds_total{cluster_id=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}[$__rate_interval])", |
803 | 803 | "format": "time_series",
|
804 | 804 | "intervalFactor": 2,
|
805 | 805 | "legendFormat": "{{instance}}",
|
|
881 | 881 | "steppedLine": false,
|
882 | 882 | "targets": [
|
883 | 883 | {
|
884 |
| - "expr": "go_goroutines{cluster_id=\"$cluster\", app=\"kube-controller-manager\",instance=~\"$instance\"}", |
| 884 | + "expr": "go_goroutines{cluster_id=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}", |
885 | 885 | "format": "time_series",
|
886 | 886 | "intervalFactor": 2,
|
887 | 887 | "legendFormat": "{{instance}}",
|
|
966 | 966 | "multi": false,
|
967 | 967 | "name": "cluster",
|
968 | 968 | "options": [],
|
969 |
| - "query": "label_values(up{app=\"kube-controller-manager\"}, cluster_id)", |
| 969 | + "query": "label_values(up{job=\"kube-controller-manager\"}, cluster_id)", |
970 | 970 | "refresh": 2,
|
971 | 971 | "regex": "",
|
972 | 972 | "sort": 1,
|
|
986 | 986 | "multi": false,
|
987 | 987 | "name": "instance",
|
988 | 988 | "options": [],
|
989 |
| - "query": "label_values(up{cluster_id=\"$cluster\", app=\"kube-controller-manager\"}, instance)", |
| 989 | + "query": "label_values(up{cluster_id=\"$cluster\", job=\"kube-controller-manager\"}, instance)", |
990 | 990 | "refresh": 2,
|
991 | 991 | "regex": "",
|
992 | 992 | "sort": 1,
|
|
0 commit comments