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