Integrate collectd, prometheus and grafana.
[multicloud/k8s.git] / kud / tests / vnfs / comp-app / collection / app2 / helm / prometheus-operator / templates / grafana / dashboards-1.14 / proxy.yaml
1 {{- /*
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
5 */ -}}
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 }}
8 apiVersion: v1
9 kind: ConfigMap
10 metadata:
11   namespace: {{ template "prometheus-operator.namespace" . }}
12   name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) "proxy" | trunc 63 | trimSuffix "-" }}
13   labels:
14     {{- if $.Values.grafana.sidecar.dashboards.label }}
15     {{ $.Values.grafana.sidecar.dashboards.label }}: "1"
16     {{- end }}
17     app: {{ template "prometheus-operator.name" $ }}-grafana
18 {{ include "prometheus-operator.labels" $ | indent 4 }}
19 data:
20   proxy.json: |-
21     {
22         "__inputs": [
23
24         ],
25         "__requires": [
26
27         ],
28         "annotations": {
29             "list": [
30
31             ]
32         },
33         "editable": false,
34         "gnetId": null,
35         "graphTooltip": 0,
36         "hideControls": false,
37         "id": null,
38         "links": [
39
40         ],
41         "refresh": "10s",
42         "rows": [
43             {
44                 "collapse": false,
45                 "collapsed": false,
46                 "panels": [
47                     {
48                         "cacheTimeout": null,
49                         "colorBackground": false,
50                         "colorValue": false,
51                         "colors": [
52                             "#299c46",
53                             "rgba(237, 129, 40, 0.89)",
54                             "#d44a3a"
55                         ],
56                         "datasource": "$datasource",
57                         "format": "none",
58                         "gauge": {
59                             "maxValue": 100,
60                             "minValue": 0,
61                             "show": false,
62                             "thresholdLabels": false,
63                             "thresholdMarkers": true
64                         },
65                         "gridPos": {
66
67                         },
68                         "id": 2,
69                         "interval": null,
70                         "links": [
71
72                         ],
73                         "mappingType": 1,
74                         "mappingTypes": [
75                             {
76                                 "name": "value to text",
77                                 "value": 1
78                             },
79                             {
80                                 "name": "range to text",
81                                 "value": 2
82                             }
83                         ],
84                         "maxDataPoints": 100,
85                         "nullPointMode": "connected",
86                         "nullText": null,
87                         "postfix": "",
88                         "postfixFontSize": "50%",
89                         "prefix": "",
90                         "prefixFontSize": "50%",
91                         "rangeMaps": [
92                             {
93                                 "from": "null",
94                                 "text": "N/A",
95                                 "to": "null"
96                             }
97                         ],
98                         "span": 2,
99                         "sparkline": {
100                             "fillColor": "rgba(31, 118, 189, 0.18)",
101                             "full": false,
102                             "lineColor": "rgb(31, 120, 193)",
103                             "show": false
104                         },
105                         "tableColumn": "",
106                         "targets": [
107                             {
108                                 "expr": "sum(up{job=\"kube-proxy\"})",
109                                 "format": "time_series",
110                                 "intervalFactor": 2,
111                                 "legendFormat": "",
112                                 "refId": "A"
113                             }
114                         ],
115                         "thresholds": "",
116                         "title": "Up",
117                         "tooltip": {
118                             "shared": false
119                         },
120                         "type": "singlestat",
121                         "valueFontSize": "80%",
122                         "valueMaps": [
123                             {
124                                 "op": "=",
125                                 "text": "N/A",
126                                 "value": "null"
127                             }
128                         ],
129                         "valueName": "min"
130                     },
131                     {
132                         "aliasColors": {
133
134                         },
135                         "bars": false,
136                         "dashLength": 10,
137                         "dashes": false,
138                         "datasource": "$datasource",
139                         "fill": 1,
140                         "gridPos": {
141
142                         },
143                         "id": 3,
144                         "legend": {
145                             "alignAsTable": false,
146                             "avg": false,
147                             "current": false,
148                             "max": false,
149                             "min": false,
150                             "rightSide": false,
151                             "show": true,
152                             "total": false,
153                             "values": false
154                         },
155                         "lines": true,
156                         "linewidth": 1,
157                         "links": [
158
159                         ],
160                         "nullPointMode": "null",
161                         "percentage": false,
162                         "pointradius": 5,
163                         "points": false,
164                         "renderer": "flot",
165                         "repeat": null,
166                         "seriesOverrides": [
167
168                         ],
169                         "spaceLength": 10,
170                         "span": 5,
171                         "stack": false,
172                         "steppedLine": false,
173                         "targets": [
174                             {
175                                 "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
176                                 "format": "time_series",
177                                 "intervalFactor": 2,
178                                 "legendFormat": "rate",
179                                 "refId": "A"
180                             }
181                         ],
182                         "thresholds": [
183
184                         ],
185                         "timeFrom": null,
186                         "timeShift": null,
187                         "title": "Rules Sync Rate",
188                         "tooltip": {
189                             "shared": false,
190                             "sort": 0,
191                             "value_type": "individual"
192                         },
193                         "type": "graph",
194                         "xaxis": {
195                             "buckets": null,
196                             "mode": "time",
197                             "name": null,
198                             "show": true,
199                             "values": [
200
201                             ]
202                         },
203                         "yaxes": [
204                             {
205                                 "format": "ops",
206                                 "label": null,
207                                 "logBase": 1,
208                                 "max": null,
209                                 "min": 0,
210                                 "show": true
211                             },
212                             {
213                                 "format": "ops",
214                                 "label": null,
215                                 "logBase": 1,
216                                 "max": null,
217                                 "min": 0,
218                                 "show": true
219                             }
220                         ]
221                     },
222                     {
223                         "aliasColors": {
224
225                         },
226                         "bars": false,
227                         "dashLength": 10,
228                         "dashes": false,
229                         "datasource": "$datasource",
230                         "fill": 1,
231                         "gridPos": {
232
233                         },
234                         "id": 4,
235                         "legend": {
236                             "alignAsTable": true,
237                             "avg": false,
238                             "current": true,
239                             "max": false,
240                             "min": false,
241                             "rightSide": true,
242                             "show": true,
243                             "total": false,
244                             "values": true
245                         },
246                         "lines": true,
247                         "linewidth": 1,
248                         "links": [
249
250                         ],
251                         "nullPointMode": "null",
252                         "percentage": false,
253                         "pointradius": 5,
254                         "points": false,
255                         "renderer": "flot",
256                         "repeat": null,
257                         "seriesOverrides": [
258
259                         ],
260                         "spaceLength": 10,
261                         "span": 5,
262                         "stack": false,
263                         "steppedLine": false,
264                         "targets": [
265                             {
266                                 "expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
267                                 "format": "time_series",
268                                 "intervalFactor": 2,
269                                 "legendFormat": "{{`{{`}}instance{{`}}`}}",
270                                 "refId": "A"
271                             }
272                         ],
273                         "thresholds": [
274
275                         ],
276                         "timeFrom": null,
277                         "timeShift": null,
278                         "title": "Rule Sync Latency 99th Quantile",
279                         "tooltip": {
280                             "shared": false,
281                             "sort": 0,
282                             "value_type": "individual"
283                         },
284                         "type": "graph",
285                         "xaxis": {
286                             "buckets": null,
287                             "mode": "time",
288                             "name": null,
289                             "show": true,
290                             "values": [
291
292                             ]
293                         },
294                         "yaxes": [
295                             {
296                                 "format": "s",
297                                 "label": null,
298                                 "logBase": 1,
299                                 "max": null,
300                                 "min": 0,
301                                 "show": true
302                             },
303                             {
304                                 "format": "s",
305                                 "label": null,
306                                 "logBase": 1,
307                                 "max": null,
308                                 "min": 0,
309                                 "show": true
310                             }
311                         ]
312                     }
313                 ],
314                 "repeat": null,
315                 "repeatIteration": null,
316                 "repeatRowId": null,
317                 "showTitle": false,
318                 "title": "Dashboard Row",
319                 "titleSize": "h6",
320                 "type": "row"
321             },
322             {
323                 "collapse": false,
324                 "collapsed": false,
325                 "panels": [
326                     {
327                         "aliasColors": {
328
329                         },
330                         "bars": false,
331                         "dashLength": 10,
332                         "dashes": false,
333                         "datasource": "$datasource",
334                         "fill": 1,
335                         "gridPos": {
336
337                         },
338                         "id": 5,
339                         "legend": {
340                             "alignAsTable": false,
341                             "avg": false,
342                             "current": false,
343                             "max": false,
344                             "min": false,
345                             "rightSide": false,
346                             "show": true,
347                             "total": false,
348                             "values": false
349                         },
350                         "lines": true,
351                         "linewidth": 1,
352                         "links": [
353
354                         ],
355                         "nullPointMode": "null",
356                         "percentage": false,
357                         "pointradius": 5,
358                         "points": false,
359                         "renderer": "flot",
360                         "repeat": null,
361                         "seriesOverrides": [
362
363                         ],
364                         "spaceLength": 10,
365                         "span": 6,
366                         "stack": false,
367                         "steppedLine": false,
368                         "targets": [
369                             {
370                                 "expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
371                                 "format": "time_series",
372                                 "intervalFactor": 2,
373                                 "legendFormat": "rate",
374                                 "refId": "A"
375                             }
376                         ],
377                         "thresholds": [
378
379                         ],
380                         "timeFrom": null,
381                         "timeShift": null,
382                         "title": "Network Programming Rate",
383                         "tooltip": {
384                             "shared": false,
385                             "sort": 0,
386                             "value_type": "individual"
387                         },
388                         "type": "graph",
389                         "xaxis": {
390                             "buckets": null,
391                             "mode": "time",
392                             "name": null,
393                             "show": true,
394                             "values": [
395
396                             ]
397                         },
398                         "yaxes": [
399                             {
400                                 "format": "ops",
401                                 "label": null,
402                                 "logBase": 1,
403                                 "max": null,
404                                 "min": 0,
405                                 "show": true
406                             },
407                             {
408                                 "format": "ops",
409                                 "label": null,
410                                 "logBase": 1,
411                                 "max": null,
412                                 "min": 0,
413                                 "show": true
414                             }
415                         ]
416                     },
417                     {
418                         "aliasColors": {
419
420                         },
421                         "bars": false,
422                         "dashLength": 10,
423                         "dashes": false,
424                         "datasource": "$datasource",
425                         "fill": 1,
426                         "gridPos": {
427
428                         },
429                         "id": 6,
430                         "legend": {
431                             "alignAsTable": true,
432                             "avg": false,
433                             "current": true,
434                             "max": false,
435                             "min": false,
436                             "rightSide": true,
437                             "show": true,
438                             "total": false,
439                             "values": true
440                         },
441                         "lines": true,
442                         "linewidth": 1,
443                         "links": [
444
445                         ],
446                         "nullPointMode": "null",
447                         "percentage": false,
448                         "pointradius": 5,
449                         "points": false,
450                         "renderer": "flot",
451                         "repeat": null,
452                         "seriesOverrides": [
453
454                         ],
455                         "spaceLength": 10,
456                         "span": 6,
457                         "stack": false,
458                         "steppedLine": false,
459                         "targets": [
460                             {
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",
463                                 "intervalFactor": 2,
464                                 "legendFormat": "{{`{{`}}instance{{`}}`}}",
465                                 "refId": "A"
466                             }
467                         ],
468                         "thresholds": [
469
470                         ],
471                         "timeFrom": null,
472                         "timeShift": null,
473                         "title": "Network Programming Latency 99th Quantile",
474                         "tooltip": {
475                             "shared": false,
476                             "sort": 0,
477                             "value_type": "individual"
478                         },
479                         "type": "graph",
480                         "xaxis": {
481                             "buckets": null,
482                             "mode": "time",
483                             "name": null,
484                             "show": true,
485                             "values": [
486
487                             ]
488                         },
489                         "yaxes": [
490                             {
491                                 "format": "s",
492                                 "label": null,
493                                 "logBase": 1,
494                                 "max": null,
495                                 "min": 0,
496                                 "show": true
497                             },
498                             {
499                                 "format": "s",
500                                 "label": null,
501                                 "logBase": 1,
502                                 "max": null,
503                                 "min": 0,
504                                 "show": true
505                             }
506                         ]
507                     }
508                 ],
509                 "repeat": null,
510                 "repeatIteration": null,
511                 "repeatRowId": null,
512                 "showTitle": false,
513                 "title": "Dashboard Row",
514                 "titleSize": "h6",
515                 "type": "row"
516             },
517             {
518                 "collapse": false,
519                 "collapsed": false,
520                 "panels": [
521                     {
522                         "aliasColors": {
523
524                         },
525                         "bars": false,
526                         "dashLength": 10,
527                         "dashes": false,
528                         "datasource": "$datasource",
529                         "fill": 1,
530                         "gridPos": {
531
532                         },
533                         "id": 7,
534                         "legend": {
535                             "alignAsTable": false,
536                             "avg": false,
537                             "current": false,
538                             "max": false,
539                             "min": false,
540                             "rightSide": false,
541                             "show": true,
542                             "total": false,
543                             "values": false
544                         },
545                         "lines": true,
546                         "linewidth": 1,
547                         "links": [
548
549                         ],
550                         "nullPointMode": "null",
551                         "percentage": false,
552                         "pointradius": 5,
553                         "points": false,
554                         "renderer": "flot",
555                         "repeat": null,
556                         "seriesOverrides": [
557
558                         ],
559                         "spaceLength": 10,
560                         "span": 4,
561                         "stack": false,
562                         "steppedLine": false,
563                         "targets": [
564                             {
565                                 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[5m]))",
566                                 "format": "time_series",
567                                 "intervalFactor": 2,
568                                 "legendFormat": "2xx",
569                                 "refId": "A"
570                             },
571                             {
572                                 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[5m]))",
573                                 "format": "time_series",
574                                 "intervalFactor": 2,
575                                 "legendFormat": "3xx",
576                                 "refId": "B"
577                             },
578                             {
579                                 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[5m]))",
580                                 "format": "time_series",
581                                 "intervalFactor": 2,
582                                 "legendFormat": "4xx",
583                                 "refId": "C"
584                             },
585                             {
586                                 "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[5m]))",
587                                 "format": "time_series",
588                                 "intervalFactor": 2,
589                                 "legendFormat": "5xx",
590                                 "refId": "D"
591                             }
592                         ],
593                         "thresholds": [
594
595                         ],
596                         "timeFrom": null,
597                         "timeShift": null,
598                         "title": "Kube API Request Rate",
599                         "tooltip": {
600                             "shared": false,
601                             "sort": 0,
602                             "value_type": "individual"
603                         },
604                         "type": "graph",
605                         "xaxis": {
606                             "buckets": null,
607                             "mode": "time",
608                             "name": null,
609                             "show": true,
610                             "values": [
611
612                             ]
613                         },
614                         "yaxes": [
615                             {
616                                 "format": "ops",
617                                 "label": null,
618                                 "logBase": 1,
619                                 "max": null,
620                                 "min": null,
621                                 "show": true
622                             },
623                             {
624                                 "format": "ops",
625                                 "label": null,
626                                 "logBase": 1,
627                                 "max": null,
628                                 "min": null,
629                                 "show": true
630                             }
631                         ]
632                     },
633                     {
634                         "aliasColors": {
635
636                         },
637                         "bars": false,
638                         "dashLength": 10,
639                         "dashes": false,
640                         "datasource": "$datasource",
641                         "fill": 1,
642                         "gridPos": {
643
644                         },
645                         "id": 8,
646                         "legend": {
647                             "alignAsTable": false,
648                             "avg": false,
649                             "current": false,
650                             "max": false,
651                             "min": false,
652                             "rightSide": false,
653                             "show": true,
654                             "total": false,
655                             "values": false
656                         },
657                         "lines": true,
658                         "linewidth": 1,
659                         "links": [
660
661                         ],
662                         "nullPointMode": "null",
663                         "percentage": false,
664                         "pointradius": 5,
665                         "points": false,
666                         "renderer": "flot",
667                         "repeat": null,
668                         "seriesOverrides": [
669
670                         ],
671                         "spaceLength": 10,
672                         "span": 8,
673                         "stack": false,
674                         "steppedLine": false,
675                         "targets": [
676                             {
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",
679                                 "intervalFactor": 2,
680                                 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}",
681                                 "refId": "A"
682                             }
683                         ],
684                         "thresholds": [
685
686                         ],
687                         "timeFrom": null,
688                         "timeShift": null,
689                         "title": "Post Request Latency 99th Quantile",
690                         "tooltip": {
691                             "shared": false,
692                             "sort": 0,
693                             "value_type": "individual"
694                         },
695                         "type": "graph",
696                         "xaxis": {
697                             "buckets": null,
698                             "mode": "time",
699                             "name": null,
700                             "show": true,
701                             "values": [
702
703                             ]
704                         },
705                         "yaxes": [
706                             {
707                                 "format": "s",
708                                 "label": null,
709                                 "logBase": 1,
710                                 "max": null,
711                                 "min": 0,
712                                 "show": true
713                             },
714                             {
715                                 "format": "s",
716                                 "label": null,
717                                 "logBase": 1,
718                                 "max": null,
719                                 "min": 0,
720                                 "show": true
721                             }
722                         ]
723                     }
724                 ],
725                 "repeat": null,
726                 "repeatIteration": null,
727                 "repeatRowId": null,
728                 "showTitle": false,
729                 "title": "Dashboard Row",
730                 "titleSize": "h6",
731                 "type": "row"
732             },
733             {
734                 "collapse": false,
735                 "collapsed": false,
736                 "panels": [
737                     {
738                         "aliasColors": {
739
740                         },
741                         "bars": false,
742                         "dashLength": 10,
743                         "dashes": false,
744                         "datasource": "$datasource",
745                         "fill": 1,
746                         "gridPos": {
747
748                         },
749                         "id": 9,
750                         "legend": {
751                             "alignAsTable": true,
752                             "avg": false,
753                             "current": true,
754                             "max": false,
755                             "min": false,
756                             "rightSide": true,
757                             "show": true,
758                             "total": false,
759                             "values": true
760                         },
761                         "lines": true,
762                         "linewidth": 1,
763                         "links": [
764
765                         ],
766                         "nullPointMode": "null",
767                         "percentage": false,
768                         "pointradius": 5,
769                         "points": false,
770                         "renderer": "flot",
771                         "repeat": null,
772                         "seriesOverrides": [
773
774                         ],
775                         "spaceLength": 10,
776                         "span": 12,
777                         "stack": false,
778                         "steppedLine": false,
779                         "targets": [
780                             {
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",
783                                 "intervalFactor": 2,
784                                 "legendFormat": "{{`{{`}}verb{{`}}`}} {{`{{`}}url{{`}}`}}",
785                                 "refId": "A"
786                             }
787                         ],
788                         "thresholds": [
789
790                         ],
791                         "timeFrom": null,
792                         "timeShift": null,
793                         "title": "Get Request Latency 99th Quantile",
794                         "tooltip": {
795                             "shared": false,
796                             "sort": 0,
797                             "value_type": "individual"
798                         },
799                         "type": "graph",
800                         "xaxis": {
801                             "buckets": null,
802                             "mode": "time",
803                             "name": null,
804                             "show": true,
805                             "values": [
806
807                             ]
808                         },
809                         "yaxes": [
810                             {
811                                 "format": "s",
812                                 "label": null,
813                                 "logBase": 1,
814                                 "max": null,
815                                 "min": 0,
816                                 "show": true
817                             },
818                             {
819                                 "format": "s",
820                                 "label": null,
821                                 "logBase": 1,
822                                 "max": null,
823                                 "min": 0,
824                                 "show": true
825                             }
826                         ]
827                     }
828                 ],
829                 "repeat": null,
830                 "repeatIteration": null,
831                 "repeatRowId": null,
832                 "showTitle": false,
833                 "title": "Dashboard Row",
834                 "titleSize": "h6",
835                 "type": "row"
836             },
837             {
838                 "collapse": false,
839                 "collapsed": false,
840                 "panels": [
841                     {
842                         "aliasColors": {
843
844                         },
845                         "bars": false,
846                         "dashLength": 10,
847                         "dashes": false,
848                         "datasource": "$datasource",
849                         "fill": 1,
850                         "gridPos": {
851
852                         },
853                         "id": 10,
854                         "legend": {
855                             "alignAsTable": false,
856                             "avg": false,
857                             "current": false,
858                             "max": false,
859                             "min": false,
860                             "rightSide": false,
861                             "show": true,
862                             "total": false,
863                             "values": false
864                         },
865                         "lines": true,
866                         "linewidth": 1,
867                         "links": [
868
869                         ],
870                         "nullPointMode": "null",
871                         "percentage": false,
872                         "pointradius": 5,
873                         "points": false,
874                         "renderer": "flot",
875                         "repeat": null,
876                         "seriesOverrides": [
877
878                         ],
879                         "spaceLength": 10,
880                         "span": 4,
881                         "stack": false,
882                         "steppedLine": false,
883                         "targets": [
884                             {
885                                 "expr": "process_resident_memory_bytes{job=\"kube-proxy\",instance=~\"$instance\"}",
886                                 "format": "time_series",
887                                 "intervalFactor": 2,
888                                 "legendFormat": "{{`{{`}}instance{{`}}`}}",
889                                 "refId": "A"
890                             }
891                         ],
892                         "thresholds": [
893
894                         ],
895                         "timeFrom": null,
896                         "timeShift": null,
897                         "title": "Memory",
898                         "tooltip": {
899                             "shared": false,
900                             "sort": 0,
901                             "value_type": "individual"
902                         },
903                         "type": "graph",
904                         "xaxis": {
905                             "buckets": null,
906                             "mode": "time",
907                             "name": null,
908                             "show": true,
909                             "values": [
910
911                             ]
912                         },
913                         "yaxes": [
914                             {
915                                 "format": "bytes",
916                                 "label": null,
917                                 "logBase": 1,
918                                 "max": null,
919                                 "min": null,
920                                 "show": true
921                             },
922                             {
923                                 "format": "bytes",
924                                 "label": null,
925                                 "logBase": 1,
926                                 "max": null,
927                                 "min": null,
928                                 "show": true
929                             }
930                         ]
931                     },
932                     {
933                         "aliasColors": {
934
935                         },
936                         "bars": false,
937                         "dashLength": 10,
938                         "dashes": false,
939                         "datasource": "$datasource",
940                         "fill": 1,
941                         "gridPos": {
942
943                         },
944                         "id": 11,
945                         "legend": {
946                             "alignAsTable": false,
947                             "avg": false,
948                             "current": false,
949                             "max": false,
950                             "min": false,
951                             "rightSide": false,
952                             "show": true,
953                             "total": false,
954                             "values": false
955                         },
956                         "lines": true,
957                         "linewidth": 1,
958                         "links": [
959
960                         ],
961                         "nullPointMode": "null",
962                         "percentage": false,
963                         "pointradius": 5,
964                         "points": false,
965                         "renderer": "flot",
966                         "repeat": null,
967                         "seriesOverrides": [
968
969                         ],
970                         "spaceLength": 10,
971                         "span": 4,
972                         "stack": false,
973                         "steppedLine": false,
974                         "targets": [
975                             {
976                                 "expr": "rate(process_cpu_seconds_total{job=\"kube-proxy\",instance=~\"$instance\"}[5m])",
977                                 "format": "time_series",
978                                 "intervalFactor": 2,
979                                 "legendFormat": "{{`{{`}}instance{{`}}`}}",
980                                 "refId": "A"
981                             }
982                         ],
983                         "thresholds": [
984
985                         ],
986                         "timeFrom": null,
987                         "timeShift": null,
988                         "title": "CPU usage",
989                         "tooltip": {
990                             "shared": false,
991                             "sort": 0,
992                             "value_type": "individual"
993                         },
994                         "type": "graph",
995                         "xaxis": {
996                             "buckets": null,
997                             "mode": "time",
998                             "name": null,
999                             "show": true,
1000                             "values": [
1001
1002                             ]
1003                         },
1004                         "yaxes": [
1005                             {
1006                                 "format": "short",
1007                                 "label": null,
1008                                 "logBase": 1,
1009                                 "max": null,
1010                                 "min": 0,
1011                                 "show": true
1012                             },
1013                             {
1014                                 "format": "short",
1015                                 "label": null,
1016                                 "logBase": 1,
1017                                 "max": null,
1018                                 "min": 0,
1019                                 "show": true
1020                             }
1021                         ]
1022                     },
1023                     {
1024                         "aliasColors": {
1025
1026                         },
1027                         "bars": false,
1028                         "dashLength": 10,
1029                         "dashes": false,
1030                         "datasource": "$datasource",
1031                         "fill": 1,
1032                         "gridPos": {
1033
1034                         },
1035                         "id": 12,
1036                         "legend": {
1037                             "alignAsTable": false,
1038                             "avg": false,
1039                             "current": false,
1040                             "max": false,
1041                             "min": false,
1042                             "rightSide": false,
1043                             "show": true,
1044                             "total": false,
1045                             "values": false
1046                         },
1047                         "lines": true,
1048                         "linewidth": 1,
1049                         "links": [
1050
1051                         ],
1052                         "nullPointMode": "null",
1053                         "percentage": false,
1054                         "pointradius": 5,
1055                         "points": false,
1056                         "renderer": "flot",
1057                         "repeat": null,
1058                         "seriesOverrides": [
1059
1060                         ],
1061                         "spaceLength": 10,
1062                         "span": 4,
1063                         "stack": false,
1064                         "steppedLine": false,
1065                         "targets": [
1066                             {
1067                                 "expr": "go_goroutines{job=\"kube-proxy\",instance=~\"$instance\"}",
1068                                 "format": "time_series",
1069                                 "intervalFactor": 2,
1070                                 "legendFormat": "{{`{{`}}instance{{`}}`}}",
1071                                 "refId": "A"
1072                             }
1073                         ],
1074                         "thresholds": [
1075
1076                         ],
1077                         "timeFrom": null,
1078                         "timeShift": null,
1079                         "title": "Goroutines",
1080                         "tooltip": {
1081                             "shared": false,
1082                             "sort": 0,
1083                             "value_type": "individual"
1084                         },
1085                         "type": "graph",
1086                         "xaxis": {
1087                             "buckets": null,
1088                             "mode": "time",
1089                             "name": null,
1090                             "show": true,
1091                             "values": [
1092
1093                             ]
1094                         },
1095                         "yaxes": [
1096                             {
1097                                 "format": "short",
1098                                 "label": null,
1099                                 "logBase": 1,
1100                                 "max": null,
1101                                 "min": null,
1102                                 "show": true
1103                             },
1104                             {
1105                                 "format": "short",
1106                                 "label": null,
1107                                 "logBase": 1,
1108                                 "max": null,
1109                                 "min": null,
1110                                 "show": true
1111                             }
1112                         ]
1113                     }
1114                 ],
1115                 "repeat": null,
1116                 "repeatIteration": null,
1117                 "repeatRowId": null,
1118                 "showTitle": false,
1119                 "title": "Dashboard Row",
1120                 "titleSize": "h6",
1121                 "type": "row"
1122             }
1123         ],
1124         "schemaVersion": 14,
1125         "style": "dark",
1126         "tags": [
1127             "kubernetes-mixin"
1128         ],
1129         "templating": {
1130             "list": [
1131                 {
1132                     "current": {
1133                         "text": "default",
1134                         "value": "default"
1135                     },
1136                     "hide": 0,
1137                     "label": null,
1138                     "name": "datasource",
1139                     "options": [
1140
1141                     ],
1142                     "query": "prometheus",
1143                     "refresh": 1,
1144                     "regex": "",
1145                     "type": "datasource"
1146                 },
1147                 {
1148                     "allValue": null,
1149                     "current": {
1150
1151                     },
1152                     "datasource": "$datasource",
1153                     "hide": 0,
1154                     "includeAll": true,
1155                     "label": null,
1156                     "multi": false,
1157                     "name": "instance",
1158                     "options": [
1159
1160                     ],
1161                     "query": "label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\"}, instance)",
1162                     "refresh": 2,
1163                     "regex": "",
1164                     "sort": 1,
1165                     "tagValuesQuery": "",
1166                     "tags": [
1167
1168                     ],
1169                     "tagsQuery": "",
1170                     "type": "query",
1171                     "useTags": false
1172                 }
1173             ]
1174         },
1175         "time": {
1176             "from": "now-1h",
1177             "to": "now"
1178         },
1179         "timepicker": {
1180             "refresh_intervals": [
1181                 "5s",
1182                 "10s",
1183                 "30s",
1184                 "1m",
1185                 "5m",
1186                 "15m",
1187                 "30m",
1188                 "1h",
1189                 "2h",
1190                 "1d"
1191             ],
1192             "time_options": [
1193                 "5m",
1194                 "15m",
1195                 "1h",
1196                 "6h",
1197                 "12h",
1198                 "24h",
1199                 "2d",
1200                 "7d",
1201                 "30d"
1202             ]
1203         },
1204         "timezone": "",
1205         "title": "Kubernetes / Proxy",
1206         "uid": "632e265de029684c40b21cb76bca4f94",
1207         "version": 0
1208     }
1209 {{- end }}