2 Generated from 'proxy' from https://raw.githubusercontent.com/coreos/kube-prometheus/master/manifests/grafana-dashboardDefinitions.yaml
3 Do not change in-place! In order to change this file first read following link:
4 https://github.com/helm/charts/tree/master/stable/prometheus-operator/hack
6 {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }}
7 {{- if and (semverCompare ">=1.14.0-0" $kubeTargetVersion) (semverCompare "<9.9.9-9" $kubeTargetVersion) .Values.grafana.enabled .Values.grafana.defaultDashboardsEnabled .Values.kubeProxy.enabled }}
11 namespace: {{ template "prometheus-operator.namespace" . }}
12 name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) "proxy" | trunc 63 | trimSuffix "-" }}
14 {{- if $.Values.grafana.sidecar.dashboards.label }}
15 {{ $.Values.grafana.sidecar.dashboards.label }}: "1"
17 app: {{ template "prometheus-operator.name" $ }}-grafana
18 {{ include "prometheus-operator.labels" $ | indent 4 }}
36 "hideControls": false,
49 "colorBackground": false,
53 "rgba(237, 129, 40, 0.89)",
56 "datasource": "$datasource",
62 "thresholdLabels": false,
63 "thresholdMarkers": true
76 "name": "value to text",
80 "name": "range to text",
85 "nullPointMode": "connected",
88 "postfixFontSize": "50%",
90 "prefixFontSize": "50%",
100 "fillColor": "rgba(31, 118, 189, 0.18)",
102 "lineColor": "rgb(31, 120, 193)",
108 "expr": "sum(up{job=\"kube-proxy\"})",
109 "format": "time_series",
120 "type": "singlestat",
121 "valueFontSize": "80%",
138 "datasource": "$datasource",
145 "alignAsTable": false,
160 "nullPointMode": "null",
172 "steppedLine": false,
175 "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
176 "format": "time_series",
178 "legendFormat": "rate",
187 "title": "Rules Sync Rate",
191 "value_type": "individual"
229 "datasource": "$datasource",
236 "alignAsTable": true,
251 "nullPointMode": "null",
263 "steppedLine": false,
266 "expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
267 "format": "time_series",
269 "legendFormat": "{{`{{`}}instance{{`}}`}}",
278 "title": "Rule Sync Latency 99th Quantile",
282 "value_type": "individual"
315 "repeatIteration": null,
318 "title": "Dashboard Row",
333 "datasource": "$datasource",
340 "alignAsTable": false,
355 "nullPointMode": "null",
367 "steppedLine": false,
370 "expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
371 "format": "time_series",
373 "legendFormat": "rate",
382 "title": "Network Programming Rate",
386 "value_type": "individual"
424 "datasource": "$datasource",
431 "alignAsTable": true,
446 "nullPointMode": "null",
458 "steppedLine": false,
461 "expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m])) by (instance, le))",
462 "format": "time_series",
464 "legendFormat": "{{`{{`}}instance{{`}}`}}",
473 "title": "Network Programming Latency 99th Quantile",
477 "value_type": "individual"
510 "repeatIteration": null,
513 "title": "Dashboard Row",
528 "datasource": "$datasource",
535 "alignAsTable": false,
550 "nullPointMode": "null",
562 "steppedLine": false,
565 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[5m]))",
566 "format": "time_series",
568 "legendFormat": "2xx",
572 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[5m]))",
573 "format": "time_series",
575 "legendFormat": "3xx",
579 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[5m]))",
580 "format": "time_series",
582 "legendFormat": "4xx",
586 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[5m]))",
587 "format": "time_series",
589 "legendFormat": "5xx",
598 "title": "Kube API Request Rate",
602 "value_type": "individual"
640 "datasource": "$datasource",
647 "alignAsTable": false,
662 "nullPointMode": "null",
674 "steppedLine": false,
677 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\",instance=~\"$instance\",verb=\"POST\"}[5m])) by (verb, url, le))",
678 "format": "time_series",
680 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}",
689 "title": "Post Request Latency 99th Quantile",
693 "value_type": "individual"
726 "repeatIteration": null,
729 "title": "Dashboard Row",
744 "datasource": "$datasource",
751 "alignAsTable": true,
766 "nullPointMode": "null",
778 "steppedLine": false,
781 "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))",
782 "format": "time_series",
784 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}",
793 "title": "Get Request Latency 99th Quantile",
797 "value_type": "individual"
830 "repeatIteration": null,
833 "title": "Dashboard Row",
848 "datasource": "$datasource",
855 "alignAsTable": false,
870 "nullPointMode": "null",
882 "steppedLine": false,
885 "expr": "process_resident_memory_bytes{job=\"kube-proxy\",instance=~\"$instance\"}",
886 "format": "time_series",
888 "legendFormat": "{{`{{`}}instance{{`}}`}}",
901 "value_type": "individual"
939 "datasource": "$datasource",
946 "alignAsTable": false,
961 "nullPointMode": "null",
973 "steppedLine": false,
976 "expr": "rate(process_cpu_seconds_total{job=\"kube-proxy\",instance=~\"$instance\"}[5m])",
977 "format": "time_series",
979 "legendFormat": "{{`{{`}}instance{{`}}`}}",
988 "title": "CPU usage",
992 "value_type": "individual"
1030 "datasource": "$datasource",
1037 "alignAsTable": false,
1052 "nullPointMode": "null",
1053 "percentage": false,
1058 "seriesOverrides": [
1064 "steppedLine": false,
1067 "expr": "go_goroutines{job=\"kube-proxy\",instance=~\"$instance\"}",
1068 "format": "time_series",
1069 "intervalFactor": 2,
1070 "legendFormat": "{{`{{`}}instance{{`}}`}}",
1079 "title": "Goroutines",
1083 "value_type": "individual"
1116 "repeatIteration": null,
1117 "repeatRowId": null,
1119 "title": "Dashboard Row",
1124 "schemaVersion": 14,
1138 "name": "datasource",
1142 "query": "prometheus",
1145 "type": "datasource"
1152 "datasource": "$datasource",
1161 "query": "label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\"}, instance)",
1165 "tagValuesQuery": "",
1180 "refresh_intervals": [
1205 "title": "Kubernetes / Proxy",
1206 "uid": "632e265de029684c40b21cb76bca4f94",