Infra: Do not strict check keys in Ansible
[csit.git] / fdio.infra.terraform / 1n_nmd / grafana / conf / consul.json
1 {
2   "__inputs": [
3     {
4       "name": "DS_PROMETHEUS",
5       "label": "Prometheus",
6       "description": "",
7       "type": "datasource",
8       "pluginId": "prometheus",
9       "pluginName": "Prometheus"
10     }
11   ],
12   "__requires": [
13     {
14       "type": "grafana",
15       "id": "grafana",
16       "name": "Grafana",
17       "version": "4.3.0-beta1"
18     },
19     {
20       "type": "panel",
21       "id": "graph",
22       "name": "Graph",
23       "version": ""
24     },
25     {
26       "type": "datasource",
27       "id": "prometheus",
28       "name": "Prometheus",
29       "version": "1.0.0"
30     },
31     {
32       "type": "panel",
33       "id": "singlestat",
34       "name": "Singlestat",
35       "version": ""
36     }
37   ],
38   "annotations": {
39     "list": []
40   },
41   "editable": true,
42   "gnetId": 2351,
43   "graphTooltip": 0,
44   "hideControls": false,
45   "id": null,
46   "links": [],
47   "rows": [
48     {
49       "collapse": false,
50       "height": 153,
51       "panels": [
52         {
53           "cacheTimeout": null,
54           "colorBackground": false,
55           "colorValue": false,
56           "colors": [
57             "rgba(245, 54, 54, 0.9)",
58             "rgba(237, 129, 40, 0.89)",
59             "rgba(50, 172, 45, 0.97)"
60           ],
61           "datasource": "${DS_PROMETHEUS}",
62           "format": "none",
63           "gauge": {
64             "maxValue": 100,
65             "minValue": 0,
66             "show": false,
67             "thresholdLabels": false,
68             "thresholdMarkers": true
69           },
70           "id": 1,
71           "interval": null,
72           "links": [],
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": "consul_raft_leader_lastcontact_count",
109               "format": "time_series",
110               "interval": "",
111               "intervalFactor": 2,
112               "legendFormat": "{{host}}",
113               "refId": "A",
114               "step": 60
115             }
116           ],
117           "thresholds": "",
118           "title": "Consul Leader",
119           "type": "singlestat",
120           "valueFontSize": "80%",
121           "valueMaps": [
122             {
123               "op": "=",
124               "text": "N/A",
125               "value": "null"
126             }
127           ],
128           "valueName": "name"
129         },
130         {
131           "cacheTimeout": null,
132           "colorBackground": false,
133           "colorValue": false,
134           "colors": [
135             "rgba(245, 54, 54, 0.9)",
136             "rgba(237, 129, 40, 0.89)",
137             "rgba(50, 172, 45, 0.97)"
138           ],
139           "datasource": "${DS_PROMETHEUS}",
140           "format": "none",
141           "gauge": {
142             "maxValue": 3,
143             "minValue": 0,
144             "show": true,
145             "thresholdLabels": false,
146             "thresholdMarkers": true
147           },
148           "id": 17,
149           "interval": null,
150           "links": [],
151           "mappingType": 1,
152           "mappingTypes": [
153             {
154               "name": "value to text",
155               "value": 1
156             },
157             {
158               "name": "range to text",
159               "value": 2
160             }
161           ],
162           "maxDataPoints": 100,
163           "nullPointMode": "connected",
164           "nullText": null,
165           "postfix": "",
166           "postfixFontSize": "50%",
167           "prefix": "",
168           "prefixFontSize": "50%",
169           "rangeMaps": [
170             {
171               "from": "null",
172               "text": "N/A",
173               "to": "null"
174             }
175           ],
176           "span": 2,
177           "sparkline": {
178             "fillColor": "rgba(31, 118, 189, 0.18)",
179             "full": false,
180             "lineColor": "rgb(31, 120, 193)",
181             "show": false
182           },
183           "tableColumn": "",
184           "targets": [
185             {
186               "expr": "COUNT (changes(consul_memberlist_gossep_sum[1m]) > 0) BY (labels)",
187               "format": "time_series",
188               "intervalFactor": 2,
189               "legendFormat": "",
190               "refId": "A",
191               "step": 60
192             }
193           ],
194           "thresholds": "1,2",
195           "title": "# servers in cluster",
196           "type": "singlestat",
197           "valueFontSize": "100%",
198           "valueMaps": [
199             {
200               "op": "=",
201               "text": "N/A",
202               "value": "null"
203             }
204           ],
205           "valueName": "current"
206         },
207         {
208           "cacheTimeout": null,
209           "colorBackground": false,
210           "colorValue": false,
211           "colors": [
212             "rgba(245, 54, 54, 0.9)",
213             "rgba(237, 129, 40, 0.89)",
214             "rgba(50, 172, 45, 0.97)"
215           ],
216           "datasource": "${DS_PROMETHEUS}",
217           "decimals": null,
218           "format": "percent",
219           "gauge": {
220             "maxValue": 100,
221             "minValue": 0,
222             "show": true,
223             "thresholdLabels": false,
224             "thresholdMarkers": true
225           },
226           "id": 18,
227           "interval": null,
228           "links": [],
229           "mappingType": 1,
230           "mappingTypes": [
231             {
232               "name": "value to text",
233               "value": 1
234             },
235             {
236               "name": "range to text",
237               "value": 2
238             }
239           ],
240           "maxDataPoints": 100,
241           "nullPointMode": "connected",
242           "nullText": null,
243           "postfix": "",
244           "postfixFontSize": "50%",
245           "prefix": "",
246           "prefixFontSize": "50%",
247           "rangeMaps": [
248             {
249               "from": "null",
250               "text": "N/A",
251               "to": "null"
252             }
253           ],
254           "span": 2,
255           "sparkline": {
256             "fillColor": "rgba(31, 118, 189, 0.18)",
257             "full": false,
258             "lineColor": "rgb(31, 120, 193)",
259             "show": false
260           },
261           "tableColumn": "",
262           "targets": [
263             {
264               "expr": "sum(irate(node_cpu{mode=\"idle\", host=\"$consul\"}[1m])) * 100 / count_scalar(node_cpu{mode=\"user\", host=\"$consul\"})",
265               "format": "time_series",
266               "intervalFactor": 2,
267               "legendFormat": "",
268               "refId": "A",
269               "step": 60
270             }
271           ],
272           "thresholds": "",
273           "title": "CPU Idle",
274           "type": "singlestat",
275           "valueFontSize": "80%",
276           "valueMaps": [
277             {
278               "op": "=",
279               "text": "N/A",
280               "value": "null"
281             }
282           ],
283           "valueName": "avg"
284         },
285         {
286           "cacheTimeout": null,
287           "colorBackground": false,
288           "colorValue": false,
289           "colors": [
290             "rgba(50, 172, 45, 0.97)",
291             "rgba(237, 129, 40, 0.89)",
292             "rgba(245, 54, 54, 0.9)"
293           ],
294           "datasource": "${DS_PROMETHEUS}",
295           "format": "none",
296           "gauge": {
297             "maxValue": 4,
298             "minValue": 0,
299             "show": true,
300             "thresholdLabels": false,
301             "thresholdMarkers": true
302           },
303           "id": 14,
304           "interval": null,
305           "links": [],
306           "mappingType": 1,
307           "mappingTypes": [
308             {
309               "name": "value to text",
310               "value": 1
311             },
312             {
313               "name": "range to text",
314               "value": 2
315             }
316           ],
317           "maxDataPoints": 100,
318           "nullPointMode": "connected",
319           "nullText": null,
320           "postfix": "",
321           "postfixFontSize": "50%",
322           "prefix": "",
323           "prefixFontSize": "50%",
324           "rangeMaps": [
325             {
326               "from": "null",
327               "text": "N/A",
328               "to": "null"
329             }
330           ],
331           "span": 2,
332           "sparkline": {
333             "fillColor": "rgba(31, 118, 189, 0.18)",
334             "full": false,
335             "lineColor": "rgb(31, 120, 193)",
336             "show": false
337           },
338           "tableColumn": "",
339           "targets": [
340             {
341               "expr": "node_load1{host=\"$consul\"}",
342               "format": "time_series",
343               "intervalFactor": 2,
344               "legendFormat": "",
345               "refId": "A",
346               "step": 60
347             }
348           ],
349           "thresholds": "1,2",
350           "title": "Load 1",
351           "type": "singlestat",
352           "valueFontSize": "80%",
353           "valueMaps": [
354             {
355               "op": "=",
356               "text": "N/A",
357               "value": "null"
358             }
359           ],
360           "valueName": "avg"
361         },
362         {
363           "cacheTimeout": null,
364           "colorBackground": false,
365           "colorValue": false,
366           "colors": [
367             "rgba(50, 172, 45, 0.97)",
368             "rgba(237, 129, 40, 0.89)",
369             "rgba(245, 54, 54, 0.9)"
370           ],
371           "datasource": "${DS_PROMETHEUS}",
372           "format": "none",
373           "gauge": {
374             "maxValue": 4,
375             "minValue": 0,
376             "show": true,
377             "thresholdLabels": false,
378             "thresholdMarkers": true
379           },
380           "id": 15,
381           "interval": null,
382           "links": [],
383           "mappingType": 1,
384           "mappingTypes": [
385             {
386               "name": "value to text",
387               "value": 1
388             },
389             {
390               "name": "range to text",
391               "value": 2
392             }
393           ],
394           "maxDataPoints": 100,
395           "nullPointMode": "connected",
396           "nullText": null,
397           "postfix": "",
398           "postfixFontSize": "50%",
399           "prefix": "",
400           "prefixFontSize": "50%",
401           "rangeMaps": [
402             {
403               "from": "null",
404               "text": "N/A",
405               "to": "null"
406             }
407           ],
408           "span": 2,
409           "sparkline": {
410             "fillColor": "rgba(31, 118, 189, 0.18)",
411             "full": false,
412             "lineColor": "rgb(31, 120, 193)",
413             "show": false
414           },
415           "tableColumn": "",
416           "targets": [
417             {
418               "expr": "node_load5{host=\"$consul\"}",
419               "format": "time_series",
420               "intervalFactor": 2,
421               "legendFormat": "",
422               "refId": "A",
423               "step": 60
424             }
425           ],
426           "thresholds": "1,2",
427           "title": "Load 5",
428           "type": "singlestat",
429           "valueFontSize": "80%",
430           "valueMaps": [
431             {
432               "op": "=",
433               "text": "N/A",
434               "value": "null"
435             }
436           ],
437           "valueName": "avg"
438         },
439         {
440           "cacheTimeout": null,
441           "colorBackground": false,
442           "colorValue": false,
443           "colors": [
444             "rgba(50, 172, 45, 0.97)",
445             "rgba(237, 129, 40, 0.89)",
446             "rgba(245, 54, 54, 0.9)"
447           ],
448           "datasource": "${DS_PROMETHEUS}",
449           "format": "none",
450           "gauge": {
451             "maxValue": 4,
452             "minValue": 0,
453             "show": true,
454             "thresholdLabels": false,
455             "thresholdMarkers": true
456           },
457           "id": 16,
458           "interval": null,
459           "links": [],
460           "mappingType": 1,
461           "mappingTypes": [
462             {
463               "name": "value to text",
464               "value": 1
465             },
466             {
467               "name": "range to text",
468               "value": 2
469             }
470           ],
471           "maxDataPoints": 100,
472           "nullPointMode": "connected",
473           "nullText": null,
474           "postfix": "",
475           "postfixFontSize": "50%",
476           "prefix": "",
477           "prefixFontSize": "50%",
478           "rangeMaps": [
479             {
480               "from": "null",
481               "text": "N/A",
482               "to": "null"
483             }
484           ],
485           "span": 2,
486           "sparkline": {
487             "fillColor": "rgba(31, 118, 189, 0.18)",
488             "full": false,
489             "lineColor": "rgb(31, 120, 193)",
490             "show": false
491           },
492           "tableColumn": "",
493           "targets": [
494             {
495               "expr": "node_load15{host=\"$consul\"}",
496               "format": "time_series",
497               "intervalFactor": 2,
498               "legendFormat": "",
499               "refId": "A",
500               "step": 60
501             }
502           ],
503           "thresholds": "1,2",
504           "title": "Load 15",
505           "type": "singlestat",
506           "valueFontSize": "80%",
507           "valueMaps": [
508             {
509               "op": "=",
510               "text": "N/A",
511               "value": "null"
512             }
513           ],
514           "valueName": "avg"
515         }
516       ],
517       "repeat": null,
518       "repeatIteration": null,
519       "repeatRowId": null,
520       "showTitle": false,
521       "title": "Dashboard Row",
522       "titleSize": "h6"
523     },
524     {
525       "collapse": false,
526       "height": 250,
527       "panels": [
528         {
529           "aliasColors": {},
530           "bars": false,
531           "dashLength": 10,
532           "dashes": false,
533           "datasource": "${DS_PROMETHEUS}",
534           "description": "The amount of TCP messages that are sent/received from the server.",
535           "fill": 1,
536           "id": 3,
537           "legend": {
538             "avg": false,
539             "current": false,
540             "max": false,
541             "min": false,
542             "show": true,
543             "total": false,
544             "values": false
545           },
546           "lines": true,
547           "linewidth": 1,
548           "links": [],
549           "nullPointMode": "null",
550           "percentage": false,
551           "pointradius": 5,
552           "points": false,
553           "renderer": "flot",
554           "seriesOverrides": [],
555           "spaceLength": 10,
556           "span": 6,
557           "stack": false,
558           "steppedLine": false,
559           "targets": [
560             {
561               "expr": "irate(consul_memberlist_tcp{host=\"$consul\"}[1m])",
562               "format": "time_series",
563               "interval": "",
564               "intervalFactor": 2,
565               "legendFormat": "{{type}}",
566               "refId": "A",
567               "step": 10
568             }
569           ],
570           "thresholds": [],
571           "timeFrom": null,
572           "timeShift": null,
573           "title": "Memberlist TCP Messages",
574           "tooltip": {
575             "shared": true,
576             "sort": 0,
577             "value_type": "individual"
578           },
579           "type": "graph",
580           "xaxis": {
581             "buckets": null,
582             "mode": "time",
583             "name": null,
584             "show": true,
585             "values": []
586           },
587           "yaxes": [
588             {
589               "format": "short",
590               "label": null,
591               "logBase": 1,
592               "max": null,
593               "min": null,
594               "show": true
595             },
596             {
597               "format": "short",
598               "label": null,
599               "logBase": 1,
600               "max": null,
601               "min": null,
602               "show": true
603             }
604           ]
605         },
606         {
607           "aliasColors": {},
608           "bars": false,
609           "dashLength": 10,
610           "dashes": false,
611           "datasource": "${DS_PROMETHEUS}",
612           "description": "The amount of UDP messages that are sent/received from the server.",
613           "fill": 1,
614           "id": 5,
615           "legend": {
616             "avg": false,
617             "current": false,
618             "max": false,
619             "min": false,
620             "show": true,
621             "total": false,
622             "values": false
623           },
624           "lines": true,
625           "linewidth": 1,
626           "links": [],
627           "nullPointMode": "null",
628           "percentage": false,
629           "pointradius": 5,
630           "points": false,
631           "renderer": "flot",
632           "seriesOverrides": [],
633           "spaceLength": 10,
634           "span": 6,
635           "stack": false,
636           "steppedLine": false,
637           "targets": [
638             {
639               "expr": "irate(consul_memberlist_udp{host=\"$consul\"}[1m])",
640               "format": "time_series",
641               "interval": "",
642               "intervalFactor": 2,
643               "legendFormat": "{{type}}",
644               "refId": "A",
645               "step": 10
646             }
647           ],
648           "thresholds": [],
649           "timeFrom": null,
650           "timeShift": null,
651           "title": "Memberlist UDP Messages",
652           "tooltip": {
653             "shared": true,
654             "sort": 0,
655             "value_type": "individual"
656           },
657           "type": "graph",
658           "xaxis": {
659             "buckets": null,
660             "mode": "time",
661             "name": null,
662             "show": true,
663             "values": []
664           },
665           "yaxes": [
666             {
667               "format": "none",
668               "label": null,
669               "logBase": 1,
670               "max": null,
671               "min": "0",
672               "show": true
673             },
674             {
675               "format": "short",
676               "label": null,
677               "logBase": 1,
678               "max": null,
679               "min": null,
680               "show": true
681             }
682           ]
683         }
684       ],
685       "repeat": null,
686       "repeatIteration": null,
687       "repeatRowId": null,
688       "showTitle": false,
689       "title": "Dashboard Row",
690       "titleSize": "h6"
691     },
692     {
693       "collapse": false,
694       "height": 250,
695       "panels": [
696         {
697           "aliasColors": {},
698           "bars": false,
699           "dashLength": 10,
700           "dashes": false,
701           "datasource": "${DS_PROMETHEUS}",
702           "description": "This measures the time it takes to replicate log entries to followers. This is a general indicator of the load pressure on the Consul servers, as well as the performance of the communication between the servers.",
703           "fill": 1,
704           "id": 6,
705           "legend": {
706             "avg": false,
707             "current": false,
708             "max": false,
709             "min": false,
710             "show": true,
711             "total": false,
712             "values": false
713           },
714           "lines": true,
715           "linewidth": 1,
716           "links": [],
717           "nullPointMode": "null",
718           "percentage": false,
719           "pointradius": 5,
720           "points": false,
721           "renderer": "flot",
722           "seriesOverrides": [],
723           "spaceLength": 10,
724           "span": 6,
725           "stack": false,
726           "steppedLine": false,
727           "targets": [
728             {
729               "expr": "consul_raft_replication_appendEntries_rpc",
730               "format": "time_series",
731               "interval": "",
732               "intervalFactor": 2,
733               "legendFormat": "{{query}} - {{quantile}}%",
734               "refId": "A",
735               "step": 10
736             }
737           ],
738           "thresholds": [],
739           "timeFrom": null,
740           "timeShift": null,
741           "title": "Log replication from leader to servers",
742           "tooltip": {
743             "shared": true,
744             "sort": 0,
745             "value_type": "individual"
746           },
747           "type": "graph",
748           "xaxis": {
749             "buckets": null,
750             "mode": "time",
751             "name": null,
752             "show": true,
753             "values": []
754           },
755           "yaxes": [
756             {
757               "format": "ms",
758               "label": null,
759               "logBase": 1,
760               "max": null,
761               "min": "0",
762               "show": true
763             },
764             {
765               "format": "short",
766               "label": null,
767               "logBase": 1,
768               "max": null,
769               "min": null,
770               "show": true
771             }
772           ]
773         },
774         {
775           "aliasColors": {},
776           "bars": false,
777           "dashLength": 10,
778           "dashes": false,
779           "datasource": "${DS_PROMETHEUS}",
780           "fill": 1,
781           "id": 7,
782           "legend": {
783             "avg": false,
784             "current": false,
785             "max": false,
786             "min": false,
787             "show": true,
788             "total": false,
789             "values": false
790           },
791           "lines": true,
792           "linewidth": 1,
793           "links": [],
794           "nullPointMode": "null",
795           "percentage": false,
796           "pointradius": 5,
797           "points": false,
798           "renderer": "flot",
799           "seriesOverrides": [],
800           "spaceLength": 10,
801           "span": 6,
802           "stack": false,
803           "steppedLine": false,
804           "targets": [
805             {
806               "expr": "consul_raft_replication_heartbeat",
807               "format": "time_series",
808               "interval": "",
809               "intervalFactor": 2,
810               "legendFormat": "{{query}} - {{quantile}}%",
811               "refId": "A",
812               "step": 10
813             }
814           ],
815           "thresholds": [],
816           "timeFrom": null,
817           "timeShift": null,
818           "title": "consul_raft_replication_heartbeat",
819           "tooltip": {
820             "shared": true,
821             "sort": 0,
822             "value_type": "individual"
823           },
824           "type": "graph",
825           "xaxis": {
826             "buckets": null,
827             "mode": "time",
828             "name": null,
829             "show": true,
830             "values": []
831           },
832           "yaxes": [
833             {
834               "format": "ms",
835               "label": null,
836               "logBase": 1,
837               "max": null,
838               "min": "0",
839               "show": true
840             },
841             {
842               "format": "short",
843               "label": null,
844               "logBase": 1,
845               "max": null,
846               "min": null,
847               "show": true
848             }
849           ]
850         }
851       ],
852       "repeat": null,
853       "repeatIteration": null,
854       "repeatRowId": null,
855       "showTitle": false,
856       "title": "Dashboard Row",
857       "titleSize": "h6"
858     },
859     {
860       "collapse": false,
861       "height": 250,
862       "panels": [
863         {
864           "aliasColors": {},
865           "bars": false,
866           "dashLength": 10,
867           "dashes": false,
868           "datasource": "${DS_PROMETHEUS}",
869           "description": "This measures the time it takes for the leader to write log entries to disk.",
870           "fill": 1,
871           "id": 8,
872           "legend": {
873             "avg": false,
874             "current": false,
875             "max": false,
876             "min": false,
877             "show": true,
878             "total": false,
879             "values": false
880           },
881           "lines": true,
882           "linewidth": 1,
883           "links": [],
884           "nullPointMode": "null",
885           "percentage": false,
886           "pointradius": 5,
887           "points": false,
888           "renderer": "flot",
889           "seriesOverrides": [],
890           "spaceLength": 10,
891           "span": 6,
892           "stack": false,
893           "steppedLine": false,
894           "targets": [
895             {
896               "expr": "consul_raft_leader_dispatchLog",
897               "format": "time_series",
898               "interval": "",
899               "intervalFactor": 2,
900               "legendFormat": "{{quantile}}%",
901               "refId": "A",
902               "step": 10
903             }
904           ],
905           "thresholds": [],
906           "timeFrom": null,
907           "timeShift": null,
908           "title": "Write logs",
909           "tooltip": {
910             "shared": true,
911             "sort": 0,
912             "value_type": "individual"
913           },
914           "type": "graph",
915           "xaxis": {
916             "buckets": null,
917             "mode": "time",
918             "name": null,
919             "show": true,
920             "values": []
921           },
922           "yaxes": [
923             {
924               "format": "ms",
925               "label": null,
926               "logBase": 1,
927               "max": null,
928               "min": null,
929               "show": true
930             },
931             {
932               "format": "short",
933               "label": null,
934               "logBase": 1,
935               "max": null,
936               "min": null,
937               "show": true
938             }
939           ]
940         },
941         {
942           "aliasColors": {},
943           "bars": false,
944           "dashLength": 10,
945           "dashes": false,
946           "datasource": "${DS_PROMETHEUS}",
947           "description": "This measures the time it takes to commit a new entry to the Raft log on the leader.",
948           "fill": 1,
949           "id": 4,
950           "legend": {
951             "avg": false,
952             "current": false,
953             "max": false,
954             "min": false,
955             "show": true,
956             "total": false,
957             "values": false
958           },
959           "lines": true,
960           "linewidth": 1,
961           "links": [],
962           "nullPointMode": "null",
963           "percentage": false,
964           "pointradius": 5,
965           "points": false,
966           "renderer": "flot",
967           "seriesOverrides": [],
968           "spaceLength": 10,
969           "span": 6,
970           "stack": false,
971           "steppedLine": false,
972           "targets": [
973             {
974               "expr": "consul_raft_commitTime",
975               "format": "time_series",
976               "interval": "",
977               "intervalFactor": 2,
978               "legendFormat": "{{quantile}}%",
979               "refId": "A",
980               "step": 10
981             }
982           ],
983           "thresholds": [],
984           "timeFrom": null,
985           "timeShift": null,
986           "title": "Commit time Leader",
987           "tooltip": {
988             "shared": true,
989             "sort": 0,
990             "value_type": "individual"
991           },
992           "type": "graph",
993           "xaxis": {
994             "buckets": null,
995             "mode": "time",
996             "name": null,
997             "show": true,
998             "values": []
999           },
1000           "yaxes": [
1001             {
1002               "format": "ms",
1003               "label": null,
1004               "logBase": 1,
1005               "max": null,
1006               "min": "0",
1007               "show": true
1008             },
1009             {
1010               "format": "short",
1011               "label": null,
1012               "logBase": 1,
1013               "max": null,
1014               "min": null,
1015               "show": true
1016             }
1017           ]
1018         }
1019       ],
1020       "repeat": null,
1021       "repeatIteration": null,
1022       "repeatRowId": null,
1023       "showTitle": false,
1024       "title": "Dashboard Row",
1025       "titleSize": "h6"
1026     },
1027     {
1028       "collapse": false,
1029       "height": 250,
1030       "panels": [
1031         {
1032           "aliasColors": {},
1033           "bars": false,
1034           "dashLength": 10,
1035           "dashes": false,
1036           "datasource": "${DS_PROMETHEUS}",
1037           "description": "This counts the number of Raft transactions occurring over the interval, which is a general indicator of the write load on the Consul servers.",
1038           "fill": 1,
1039           "id": 9,
1040           "legend": {
1041             "avg": false,
1042             "current": false,
1043             "max": false,
1044             "min": false,
1045             "show": true,
1046             "total": false,
1047             "values": false
1048           },
1049           "lines": true,
1050           "linewidth": 1,
1051           "links": [],
1052           "nullPointMode": "null",
1053           "percentage": false,
1054           "pointradius": 5,
1055           "points": false,
1056           "renderer": "flot",
1057           "seriesOverrides": [],
1058           "spaceLength": 10,
1059           "span": 6,
1060           "stack": false,
1061           "steppedLine": false,
1062           "targets": [
1063             {
1064               "expr": "delta(consul_raft_apply[30s])",
1065               "format": "time_series",
1066               "interval": "",
1067               "intervalFactor": 2,
1068               "legendFormat": "Transactions",
1069               "refId": "A",
1070               "step": 10
1071             }
1072           ],
1073           "thresholds": [],
1074           "timeFrom": null,
1075           "timeShift": null,
1076           "title": "Raft Transactions",
1077           "tooltip": {
1078             "shared": true,
1079             "sort": 0,
1080             "value_type": "individual"
1081           },
1082           "type": "graph",
1083           "xaxis": {
1084             "buckets": null,
1085             "mode": "time",
1086             "name": null,
1087             "show": true,
1088             "values": []
1089           },
1090           "yaxes": [
1091             {
1092               "format": "ops",
1093               "label": null,
1094               "logBase": 1,
1095               "max": null,
1096               "min": "0",
1097               "show": true
1098             },
1099             {
1100               "format": "short",
1101               "label": null,
1102               "logBase": 1,
1103               "max": null,
1104               "min": null,
1105               "show": true
1106             }
1107           ]
1108         },
1109         {
1110           "aliasColors": {},
1111           "bars": false,
1112           "dashLength": 10,
1113           "dashes": false,
1114           "datasource": "${DS_PROMETHEUS}",
1115           "description": "This will only be emitted by the Raft leader and measures the time since the leader was last able to contact the follower nodes when checking its leader lease. It can be used as a measure for how stable the Raft timing is and how close the leader is to timing out its lease.\n\nThe lease timeout is 500 ms times the raft_multiplier configuration, so this telemetry value should not be getting close to that configured value, otherwise the Raft timing is marginal and might need to be tuned, or more powerful servers might be needed. See the Server Performance guide for more details.",
1116           "fill": 1,
1117           "id": 10,
1118           "legend": {
1119             "avg": false,
1120             "current": false,
1121             "max": false,
1122             "min": false,
1123             "show": true,
1124             "total": false,
1125             "values": false
1126           },
1127           "lines": true,
1128           "linewidth": 1,
1129           "links": [],
1130           "nullPointMode": "null",
1131           "percentage": false,
1132           "pointradius": 5,
1133           "points": false,
1134           "renderer": "flot",
1135           "seriesOverrides": [],
1136           "spaceLength": 10,
1137           "span": 6,
1138           "stack": false,
1139           "steppedLine": false,
1140           "targets": [
1141             {
1142               "expr": "consul_raft_leader_lastcontact",
1143               "format": "time_series",
1144               "intervalFactor": 2,
1145               "legendFormat": "{{quantile}}%",
1146               "refId": "A",
1147               "step": 10
1148             }
1149           ],
1150           "thresholds": [],
1151           "timeFrom": null,
1152           "timeShift": null,
1153           "title": "Leader lastContact",
1154           "tooltip": {
1155             "shared": true,
1156             "sort": 0,
1157             "value_type": "individual"
1158           },
1159           "type": "graph",
1160           "xaxis": {
1161             "buckets": null,
1162             "mode": "time",
1163             "name": null,
1164             "show": true,
1165             "values": []
1166           },
1167           "yaxes": [
1168             {
1169               "format": "ms",
1170               "label": null,
1171               "logBase": 1,
1172               "max": null,
1173               "min": "0",
1174               "show": true
1175             },
1176             {
1177               "format": "short",
1178               "label": null,
1179               "logBase": 1,
1180               "max": null,
1181               "min": null,
1182               "show": true
1183             }
1184           ]
1185         }
1186       ],
1187       "repeat": null,
1188       "repeatIteration": null,
1189       "repeatRowId": null,
1190       "showTitle": false,
1191       "title": "Dashboard Row",
1192       "titleSize": "h6"
1193     },
1194     {
1195       "collapse": false,
1196       "height": 250,
1197       "panels": [
1198         {
1199           "aliasColors": {},
1200           "bars": false,
1201           "dashLength": 10,
1202           "dashes": false,
1203           "datasource": "${DS_PROMETHEUS}",
1204           "fill": 1,
1205           "id": 12,
1206           "legend": {
1207             "avg": false,
1208             "current": false,
1209             "max": false,
1210             "min": false,
1211             "show": true,
1212             "total": false,
1213             "values": false
1214           },
1215           "lines": true,
1216           "linewidth": 1,
1217           "links": [],
1218           "nullPointMode": "null",
1219           "percentage": false,
1220           "pointradius": 5,
1221           "points": false,
1222           "renderer": "flot",
1223           "seriesOverrides": [],
1224           "spaceLength": 10,
1225           "span": 6,
1226           "stack": false,
1227           "steppedLine": false,
1228           "targets": [
1229             {
1230               "expr": "delta(consul_rpc_query{host=\"$consul\"}[30s])",
1231               "format": "time_series",
1232               "intervalFactor": 2,
1233               "legendFormat": "Requests",
1234               "refId": "A",
1235               "step": 10
1236             }
1237           ],
1238           "thresholds": [],
1239           "timeFrom": null,
1240           "timeShift": null,
1241           "title": "RPC Requests",
1242           "tooltip": {
1243             "shared": true,
1244             "sort": 0,
1245             "value_type": "individual"
1246           },
1247           "type": "graph",
1248           "xaxis": {
1249             "buckets": null,
1250             "mode": "time",
1251             "name": null,
1252             "show": true,
1253             "values": []
1254           },
1255           "yaxes": [
1256             {
1257               "format": "short",
1258               "label": null,
1259               "logBase": 1,
1260               "max": null,
1261               "min": null,
1262               "show": true
1263             },
1264             {
1265               "format": "short",
1266               "label": null,
1267               "logBase": 1,
1268               "max": null,
1269               "min": null,
1270               "show": true
1271             }
1272           ]
1273         },
1274         {
1275           "aliasColors": {},
1276           "bars": false,
1277           "dashLength": 10,
1278           "dashes": false,
1279           "datasource": "${DS_PROMETHEUS}",
1280           "description": "Consul uses a network tomography system to compute network coordinates for nodes in the cluster. These coordinates allow the network round trip time to be estimated between any two nodes using a very simple calculation. This allows for many useful applications, such as finding the service node nearest a requesting node, or failing over to services in the next closest datacenter.",
1281           "fill": 1,
1282           "id": 13,
1283           "legend": {
1284             "avg": false,
1285             "current": false,
1286             "max": false,
1287             "min": false,
1288             "show": true,
1289             "total": false,
1290             "values": false
1291           },
1292           "lines": true,
1293           "linewidth": 1,
1294           "links": [],
1295           "nullPointMode": "null",
1296           "percentage": false,
1297           "pointradius": 5,
1298           "points": false,
1299           "renderer": "flot",
1300           "seriesOverrides": [],
1301           "spaceLength": 10,
1302           "span": 6,
1303           "stack": false,
1304           "steppedLine": false,
1305           "targets": [
1306             {
1307               "expr": "consul_serf_coordinate_adjustment_ms{host=\"$consul\"}",
1308               "format": "time_series",
1309               "interval": "",
1310               "intervalFactor": 2,
1311               "legendFormat": "{{quantile}}%",
1312               "refId": "A",
1313               "step": 10
1314             }
1315           ],
1316           "thresholds": [],
1317           "timeFrom": null,
1318           "timeShift": null,
1319           "title": "Serf Coordinates",
1320           "tooltip": {
1321             "shared": true,
1322             "sort": 0,
1323             "value_type": "individual"
1324           },
1325           "type": "graph",
1326           "xaxis": {
1327             "buckets": null,
1328             "mode": "time",
1329             "name": null,
1330             "show": true,
1331             "values": []
1332           },
1333           "yaxes": [
1334             {
1335               "format": "ms",
1336               "label": null,
1337               "logBase": 1,
1338               "max": null,
1339               "min": null,
1340               "show": true
1341             },
1342             {
1343               "format": "short",
1344               "label": null,
1345               "logBase": 1,
1346               "max": null,
1347               "min": null,
1348               "show": true
1349             }
1350           ]
1351         }
1352       ],
1353       "repeat": null,
1354       "repeatIteration": null,
1355       "repeatRowId": null,
1356       "showTitle": false,
1357       "title": "Dashboard Row",
1358       "titleSize": "h6"
1359     }
1360   ],
1361   "schemaVersion": 14,
1362   "style": "dark",
1363   "tags": [],
1364   "templating": {
1365     "list": [
1366       {
1367         "current": {
1368           "selected": false,
1369           "text": "default",
1370           "value": "default"
1371         },
1372         "hide": 0,
1373         "includeAll": false,
1374         "label": "datasource",
1375         "multi": false,
1376         "name": "DS_PROMETHEUS",
1377         "options": [],
1378         "query": "prometheus",
1379         "refresh": 1,
1380         "regex": "",
1381         "skipUrlSync": false,
1382         "type": "datasource"
1383       },
1384       {
1385         "allValue": null,
1386         "current": {},
1387         "datasource": "${DS_PROMETHEUS}",
1388         "hide": 0,
1389         "includeAll": false,
1390         "label": null,
1391         "multi": false,
1392         "name": "consul",
1393         "options": [],
1394         "query": "label_values(consul_memberlist_gossep_sum, host)",
1395         "refresh": 1,
1396         "regex": "",
1397         "sort": 0,
1398         "tagValuesQuery": "",
1399         "tags": [],
1400         "tagsQuery": "",
1401         "type": "query",
1402         "useTags": false
1403       }
1404     ]
1405   },
1406   "time": {
1407     "from": "now-4h",
1408     "to": "now"
1409   },
1410   "timepicker": {
1411     "refresh_intervals": [
1412       "5s",
1413       "10s",
1414       "30s",
1415       "1m",
1416       "5m",
1417       "15m",
1418       "30m",
1419       "1h",
1420       "2h",
1421       "1d"
1422     ],
1423     "time_options": [
1424       "5m",
1425       "15m",
1426       "1h",
1427       "6h",
1428       "12h",
1429       "24h",
1430       "2d",
1431       "7d",
1432       "30d"
1433     ]
1434   },
1435   "timezone": "browser",
1436   "title": "Consul",
1437   "version": 1
1438 }