Skip to content

Commit

Permalink
Use container for kube-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
fiunchinho committed Jul 3, 2024
1 parent ef6a12e commit 2aa0d88
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions helm/dashboards/dashboards/mixin/kube-proxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(up{job=\"kube-proxy\"})",
"expr": "sum(up{container=\"kube-proxy\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -155,7 +155,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\"kube-proxy\", cluster_id=\"$cluster_id\", pod=~\"$instance\"}[5m]))",
"expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{container=\"kube-proxy\", cluster_id=\"$cluster_id\", pod=~\"$instance\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -249,7 +249,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m]))",
"expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{container=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -343,7 +343,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m]))",
"expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{container=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -440,7 +440,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m])) by (instance, le))",
"expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{container=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m])) by (instance, le))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -537,7 +537,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", cluster_id=\"deu01\", code=~\"2..\"}[5m]))",
"expr": "sum(rate(rest_client_requests_total{container=\"kube-proxy\", cluster_id=\"deu01\", code=~\"2..\"}[5m]))",
"format": "time_series",
"instant": false,
"interval": "",
Expand All @@ -548,7 +548,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", cluster_id=\"deu01\", code=~\"3..\"}[5m]))",
"expr": "sum(rate(rest_client_requests_total{container=\"kube-proxy\", cluster_id=\"deu01\", code=~\"3..\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand All @@ -558,7 +558,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", cluster_id=\"deu01\", code=~\"4..\"}[5m]))",
"expr": "sum(rate(rest_client_requests_total{container=\"kube-proxy\", cluster_id=\"deu01\", code=~\"4..\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand All @@ -568,7 +568,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", cluster_id=\"deu01\", code=~\"5..\"}[5m]))",
"expr": "sum(rate(rest_client_requests_total{container=\"kube-proxy\", cluster_id=\"deu01\", code=~\"5..\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -663,7 +663,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_request_duration_seconds_count{job=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\",verb=\"POST\"}[5m]))",
"expr": "sum(rate(rest_client_request_duration_seconds_count{container=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\",verb=\"POST\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -760,7 +760,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "sum(rate(rest_client_request_duration_seconds_count{job=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\", verb=\"GET\"}[5m]))",
"expr": "sum(rate(rest_client_request_duration_seconds_count{container=\"kube-proxy\", cluster_id=\"$cluster_id\",pod=~\"$instance\", verb=\"GET\"}[5m]))",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -857,7 +857,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "process_resident_memory_bytes{job=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}",
"expr": "process_resident_memory_bytes{container=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -953,7 +953,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "rate(process_cpu_seconds_total{job=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m])",
"expr": "rate(process_cpu_seconds_total{container=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}[5m])",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -1050,7 +1050,7 @@
{
"datasource": "$datasource",
"exemplar": true,
"expr": "go_goroutines{job=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}",
"expr": "go_goroutines{container=\"kube-proxy\",cluster_id=\"$cluster_id\",pod=~\"$instance\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
Expand Down Expand Up @@ -1121,14 +1121,14 @@
"value": "$__all"
},
"datasource": "$datasource",
"definition": "label_values(rest_client_requests_total{job=\"kube-proxy\"}, pod)",
"definition": "label_values(rest_client_requests_total{container=\"kube-proxy\"}, pod)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(rest_client_requests_total{job=\"kube-proxy\"}, pod)",
"query": "label_values(rest_client_requests_total{container=\"kube-proxy\"}, pod)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
Expand All @@ -1143,14 +1143,14 @@
{
"current": {},
"datasource": "$datasource",
"definition": "label_values(process_cpu_seconds_total{job=\"kube-proxy\"}, cluster_id)",
"definition": "label_values(process_cpu_seconds_total{container=\"kube-proxy\"}, cluster_id)",
"hide": 0,
"includeAll": false,
"multi": true,
"name": "cluster_id",
"options": [],
"query": {
"query": "label_values(process_cpu_seconds_total{job=\"kube-proxy\"}, cluster_id)",
"query": "label_values(process_cpu_seconds_total{container=\"kube-proxy\"}, cluster_id)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
Expand Down

0 comments on commit 2aa0d88

Please sign in to comment.