Infra: Do not strict check keys in Ansible
[csit.git] / fdio.infra.terraform / 1n_nmd / grafana / conf / blackbox_exporter_http.json
1 {
2   "__inputs": [
3     {
4       "name": "DS_PROMETHEUS",
5       "label": "signcl-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": "5.2.2"
18     },
19     {
20       "type": "panel",
21       "id": "graph",
22       "name": "Graph",
23       "version": "5.0.0"
24     },
25     {
26       "type": "datasource",
27       "id": "prometheus",
28       "name": "Prometheus",
29       "version": "5.0.0"
30     },
31     {
32       "type": "panel",
33       "id": "singlestat",
34       "name": "Singlestat",
35       "version": "5.0.0"
36     }
37   ],
38   "annotations": {
39     "list": [
40       {
41         "builtIn": 1,
42         "datasource": "-- Grafana --",
43         "enable": true,
44         "hide": true,
45         "iconColor": "rgba(0, 211, 255, 1)",
46         "name": "Annotations & Alerts",
47         "type": "dashboard"
48       }
49     ]
50   },
51   "description": "Prometheus Blackbox Exporter Overview",
52   "editable": true,
53   "gnetId": 7587,
54   "graphTooltip": 0,
55   "id": null,
56   "iteration": 1534695504413,
57   "links": [],
58   "panels": [
59     {
60       "aliasColors": {},
61       "bars": false,
62       "dashLength": 10,
63       "dashes": false,
64       "datasource": "${DS_PROMETHEUS}",
65       "fill": 1,
66       "gridPos": {
67         "h": 8,
68         "w": 24,
69         "x": 0,
70         "y": 0
71       },
72       "id": 138,
73       "legend": {
74         "avg": false,
75         "current": false,
76         "max": false,
77         "min": false,
78         "show": true,
79         "total": false,
80         "values": false
81       },
82       "lines": true,
83       "linewidth": 1,
84       "links": [],
85       "nullPointMode": "null",
86       "percentage": false,
87       "pointradius": 5,
88       "points": false,
89       "renderer": "flot",
90       "seriesOverrides": [],
91       "spaceLength": 10,
92       "stack": false,
93       "steppedLine": false,
94       "targets": [
95         {
96           "expr": "probe_duration_seconds{instance=~\"$target\"}",
97           "format": "time_series",
98           "interval": "$interval",
99           "intervalFactor": 1,
100           "legendFormat": "{{ instance }}",
101           "refId": "A"
102         }
103       ],
104       "thresholds": [],
105       "timeFrom": null,
106       "timeShift": null,
107       "title": "Global Probe Duration",
108       "tooltip": {
109         "shared": true,
110         "sort": 1,
111         "value_type": "individual"
112       },
113       "type": "graph",
114       "xaxis": {
115         "buckets": null,
116         "mode": "time",
117         "name": null,
118         "show": true,
119         "values": []
120       },
121       "yaxes": [
122         {
123           "format": "s",
124           "label": null,
125           "logBase": 1,
126           "max": null,
127           "min": null,
128           "show": true
129         },
130         {
131           "format": "short",
132           "label": null,
133           "logBase": 1,
134           "max": null,
135           "min": null,
136           "show": true
137         }
138       ],
139       "yaxis": {
140         "align": false,
141         "alignLevel": null
142       }
143     },
144     {
145       "collapsed": false,
146       "gridPos": {
147         "h": 1,
148         "w": 24,
149         "x": 0,
150         "y": 8
151       },
152       "id": 15,
153       "panels": [],
154       "repeat": "target",
155       "title": "$target status",
156       "type": "row"
157     },
158     {
159       "aliasColors": {},
160       "bars": false,
161       "dashLength": 10,
162       "dashes": false,
163       "datasource": "${DS_PROMETHEUS}",
164       "fill": 1,
165       "gridPos": {
166         "h": 6,
167         "w": 10,
168         "x": 4,
169         "y": 9
170       },
171       "id": 25,
172       "legend": {
173         "avg": false,
174         "current": false,
175         "max": false,
176         "min": false,
177         "show": true,
178         "total": false,
179         "values": false
180       },
181       "lines": true,
182       "linewidth": 1,
183       "links": [],
184       "nullPointMode": "null",
185       "percentage": false,
186       "pointradius": 5,
187       "points": false,
188       "renderer": "flot",
189       "seriesOverrides": [],
190       "spaceLength": 10,
191       "stack": false,
192       "steppedLine": false,
193       "targets": [
194         {
195           "expr": "probe_http_duration_seconds{instance=~\"$target\"}",
196           "format": "time_series",
197           "interval": "$interval",
198           "intervalFactor": 1,
199           "legendFormat": "{{ phase }}",
200           "refId": "B"
201         }
202       ],
203       "thresholds": [],
204       "timeFrom": null,
205       "timeShift": null,
206       "title": "HTTP Duration",
207       "tooltip": {
208         "shared": true,
209         "sort": 0,
210         "value_type": "individual"
211       },
212       "type": "graph",
213       "xaxis": {
214         "buckets": null,
215         "mode": "time",
216         "name": null,
217         "show": true,
218         "values": []
219       },
220       "yaxes": [
221         {
222           "format": "s",
223           "label": null,
224           "logBase": 1,
225           "max": null,
226           "min": null,
227           "show": true
228         },
229         {
230           "format": "short",
231           "label": null,
232           "logBase": 1,
233           "max": null,
234           "min": null,
235           "show": true
236         }
237       ],
238       "yaxis": {
239         "align": false,
240         "alignLevel": null
241       }
242     },
243     {
244       "aliasColors": {},
245       "bars": false,
246       "dashLength": 10,
247       "dashes": false,
248       "datasource": "${DS_PROMETHEUS}",
249       "fill": 1,
250       "gridPos": {
251         "h": 6,
252         "w": 10,
253         "x": 14,
254         "y": 9
255       },
256       "id": 17,
257       "legend": {
258         "avg": false,
259         "current": false,
260         "max": false,
261         "min": false,
262         "show": true,
263         "total": false,
264         "values": false
265       },
266       "lines": true,
267       "linewidth": 1,
268       "links": [],
269       "nullPointMode": "null",
270       "percentage": false,
271       "pointradius": 5,
272       "points": false,
273       "renderer": "flot",
274       "repeat": null,
275       "seriesOverrides": [],
276       "spaceLength": 10,
277       "stack": false,
278       "steppedLine": false,
279       "targets": [
280         {
281           "expr": "probe_duration_seconds{instance=~\"$target\"}",
282           "format": "time_series",
283           "interval": "$interval",
284           "intervalFactor": 1,
285           "legendFormat": "seconds",
286           "refId": "A"
287         }
288       ],
289       "thresholds": [],
290       "timeFrom": null,
291       "timeShift": null,
292       "title": "Probe Duration",
293       "tooltip": {
294         "shared": true,
295         "sort": 0,
296         "value_type": "individual"
297       },
298       "type": "graph",
299       "xaxis": {
300         "buckets": null,
301         "mode": "time",
302         "name": null,
303         "show": true,
304         "values": []
305       },
306       "yaxes": [
307         {
308           "format": "s",
309           "label": null,
310           "logBase": 1,
311           "max": null,
312           "min": null,
313           "show": true
314         },
315         {
316           "format": "short",
317           "label": null,
318           "logBase": 1,
319           "max": null,
320           "min": null,
321           "show": true
322         }
323       ],
324       "yaxis": {
325         "align": false,
326         "alignLevel": null
327       }
328     },
329     {
330       "cacheTimeout": null,
331       "colorBackground": false,
332       "colorValue": false,
333       "colors": [
334         "#299c46",
335         "rgba(237, 129, 40, 0.89)",
336         "#d44a3a"
337       ],
338       "datasource": "${DS_PROMETHEUS}",
339       "decimals": 0,
340       "format": "none",
341       "gauge": {
342         "maxValue": 100,
343         "minValue": 0,
344         "show": false,
345         "thresholdLabels": false,
346         "thresholdMarkers": true
347       },
348       "gridPos": {
349         "h": 2,
350         "w": 4,
351         "x": 0,
352         "y": 11
353       },
354       "id": 20,
355       "interval": null,
356       "links": [],
357       "mappingType": 1,
358       "mappingTypes": [
359         {
360           "name": "value to text",
361           "value": 1
362         },
363         {
364           "name": "range to text",
365           "value": 2
366         }
367       ],
368       "maxDataPoints": 100,
369       "minSpan": 3,
370       "nullPointMode": "connected",
371       "nullText": null,
372       "postfix": "",
373       "postfixFontSize": "50%",
374       "prefix": "",
375       "prefixFontSize": "50%",
376       "rangeMaps": [
377         {
378           "from": "null",
379           "text": "N/A",
380           "to": "null"
381         }
382       ],
383       "repeat": null,
384       "repeatDirection": "h",
385       "sparkline": {
386         "fillColor": "rgba(31, 118, 189, 0.18)",
387         "full": false,
388         "lineColor": "rgb(31, 120, 193)",
389         "show": false
390       },
391       "tableColumn": "",
392       "targets": [
393         {
394           "expr": "probe_http_status_code{instance=~\"$target\"}",
395           "format": "time_series",
396           "interval": "$interval",
397           "intervalFactor": 1,
398           "refId": "A"
399         }
400       ],
401       "thresholds": "201, 399",
402       "title": "HTTP Status Code",
403       "transparent": false,
404       "type": "singlestat",
405       "valueFontSize": "80%",
406       "valueMaps": [
407         {
408           "op": "=",
409           "text": "N/A",
410           "value": "null"
411         },
412         {
413           "op": "=",
414           "text": "YES",
415           "value": "1"
416         },
417         {
418           "op": "=",
419           "text": "N/A",
420           "value": "0"
421         }
422       ],
423       "valueName": "current"
424     },
425     {
426       "cacheTimeout": null,
427       "colorBackground": false,
428       "colorValue": false,
429       "colors": [
430         "#299c46",
431         "rgba(237, 129, 40, 0.89)",
432         "#d44a3a"
433       ],
434       "datasource": "${DS_PROMETHEUS}",
435       "format": "none",
436       "gauge": {
437         "maxValue": 100,
438         "minValue": 0,
439         "show": false,
440         "thresholdLabels": false,
441         "thresholdMarkers": true
442       },
443       "gridPos": {
444         "h": 2,
445         "w": 4,
446         "x": 0,
447         "y": 13
448       },
449       "id": 27,
450       "interval": null,
451       "links": [],
452       "mappingType": 1,
453       "mappingTypes": [
454         {
455           "name": "value to text",
456           "value": 1
457         },
458         {
459           "name": "range to text",
460           "value": 2
461         }
462       ],
463       "maxDataPoints": 100,
464       "nullPointMode": "connected",
465       "nullText": null,
466       "postfix": "",
467       "postfixFontSize": "50%",
468       "prefix": "",
469       "prefixFontSize": "50%",
470       "rangeMaps": [
471         {
472           "from": "null",
473           "text": "N/A",
474           "to": "null"
475         }
476       ],
477       "sparkline": {
478         "fillColor": "rgba(31, 118, 189, 0.18)",
479         "full": false,
480         "lineColor": "rgb(31, 120, 193)",
481         "show": false
482       },
483       "tableColumn": "",
484       "targets": [
485         {
486           "expr": "probe_http_version{instance=~\"$target\"}",
487           "format": "time_series",
488           "intervalFactor": 1,
489           "refId": "A"
490         }
491       ],
492       "thresholds": "",
493       "title": "HTTP Version",
494       "type": "singlestat",
495       "valueFontSize": "80%",
496       "valueMaps": [
497         {
498           "op": "=",
499           "text": "N/A",
500           "value": "null"
501         }
502       ],
503       "valueName": "current"
504     },
505     {
506       "cacheTimeout": null,
507       "colorBackground": false,
508       "colorValue": true,
509       "colors": [
510         "#d44a3a",
511         "rgba(237, 129, 40, 0.89)",
512         "#299c46"
513       ],
514       "datasource": "${DS_PROMETHEUS}",
515       "format": "none",
516       "gauge": {
517         "maxValue": 100,
518         "minValue": 0,
519         "show": false,
520         "thresholdLabels": false,
521         "thresholdMarkers": true
522       },
523       "gridPos": {
524         "h": 2,
525         "w": 4,
526         "x": 0,
527         "y": 15
528       },
529       "id": 18,
530       "interval": null,
531       "links": [],
532       "mappingType": 1,
533       "mappingTypes": [
534         {
535           "name": "value to text",
536           "value": 1
537         },
538         {
539           "name": "range to text",
540           "value": 2
541         }
542       ],
543       "maxDataPoints": 100,
544       "minSpan": 3,
545       "nullPointMode": "connected",
546       "nullText": null,
547       "postfix": "",
548       "postfixFontSize": "50%",
549       "prefix": "",
550       "prefixFontSize": "50%",
551       "rangeMaps": [
552         {
553           "from": "null",
554           "text": "N/A",
555           "to": "null"
556         }
557       ],
558       "repeat": null,
559       "repeatDirection": "v",
560       "sparkline": {
561         "fillColor": "rgba(31, 118, 189, 0.18)",
562         "full": false,
563         "lineColor": "rgb(31, 120, 193)",
564         "show": false
565       },
566       "tableColumn": "",
567       "targets": [
568         {
569           "expr": "probe_http_ssl{instance=~\"$target\"}",
570           "format": "time_series",
571           "interval": "$interval",
572           "intervalFactor": 1,
573           "refId": "A"
574         }
575       ],
576       "thresholds": "0, 1",
577       "title": "SSL",
578       "type": "singlestat",
579       "valueFontSize": "80%",
580       "valueMaps": [
581         {
582           "op": "=",
583           "text": "N/A",
584           "value": "null"
585         },
586         {
587           "op": "=",
588           "text": "YES",
589           "value": "1"
590         },
591         {
592           "op": "=",
593           "text": "NO",
594           "value": "0"
595         }
596       ],
597       "valueName": "current"
598     },
599     {
600       "cacheTimeout": null,
601       "colorBackground": false,
602       "colorValue": true,
603       "colors": [
604         "#d44a3a",
605         "rgba(237, 129, 40, 0.89)",
606         "#299c46"
607       ],
608       "datasource": "${DS_PROMETHEUS}",
609       "decimals": 2,
610       "format": "dtdurations",
611       "gauge": {
612         "maxValue": 100,
613         "minValue": 0,
614         "show": false,
615         "thresholdLabels": false,
616         "thresholdMarkers": true
617       },
618       "gridPos": {
619         "h": 2,
620         "w": 10,
621         "x": 4,
622         "y": 15
623       },
624       "id": 19,
625       "interval": null,
626       "links": [],
627       "mappingType": 1,
628       "mappingTypes": [
629         {
630           "name": "value to text",
631           "value": 1
632         },
633         {
634           "name": "range to text",
635           "value": 2
636         }
637       ],
638       "maxDataPoints": 100,
639       "minSpan": 3,
640       "nullPointMode": "connected",
641       "nullText": null,
642       "postfix": "",
643       "postfixFontSize": "50%",
644       "prefix": "",
645       "prefixFontSize": "50%",
646       "rangeMaps": [
647         {
648           "from": "null",
649           "text": "N/A",
650           "to": "null"
651         }
652       ],
653       "repeat": null,
654       "repeatDirection": "h",
655       "sparkline": {
656         "fillColor": "rgba(31, 118, 189, 0.18)",
657         "full": false,
658         "lineColor": "rgb(31, 120, 193)",
659         "show": false
660       },
661       "tableColumn": "",
662       "targets": [
663         {
664           "expr": "probe_ssl_earliest_cert_expiry{instance=~\"$target\"} - time()",
665           "format": "time_series",
666           "interval": "$interval",
667           "intervalFactor": 1,
668           "refId": "A"
669         }
670       ],
671       "thresholds": "0,1209600",
672       "timeFrom": null,
673       "title": "SSL Expiry",
674       "transparent": false,
675       "type": "singlestat",
676       "valueFontSize": "80%",
677       "valueMaps": [
678         {
679           "op": "=",
680           "text": "N/A",
681           "value": "null"
682         },
683         {
684           "op": "=",
685           "text": "YES",
686           "value": "1"
687         },
688         {
689           "op": "=",
690           "text": "NO",
691           "value": "0"
692         }
693       ],
694       "valueName": "current"
695     },
696     {
697       "cacheTimeout": null,
698       "colorBackground": false,
699       "colorValue": false,
700       "colors": [
701         "#299c46",
702         "rgba(237, 129, 40, 0.89)",
703         "#d44a3a"
704       ],
705       "datasource": "${DS_PROMETHEUS}",
706       "format": "s",
707       "gauge": {
708         "maxValue": 100,
709         "minValue": 0,
710         "show": false,
711         "thresholdLabels": false,
712         "thresholdMarkers": true
713       },
714       "gridPos": {
715         "h": 2,
716         "w": 5,
717         "x": 14,
718         "y": 15
719       },
720       "id": 23,
721       "interval": null,
722       "links": [],
723       "mappingType": 1,
724       "mappingTypes": [
725         {
726           "name": "value to text",
727           "value": 1
728         },
729         {
730           "name": "range to text",
731           "value": 2
732         }
733       ],
734       "maxDataPoints": 100,
735       "nullPointMode": "connected",
736       "nullText": null,
737       "postfix": "",
738       "postfixFontSize": "50%",
739       "prefix": "",
740       "prefixFontSize": "50%",
741       "rangeMaps": [
742         {
743           "from": "null",
744           "text": "N/A",
745           "to": "null"
746         }
747       ],
748       "repeat": null,
749       "sparkline": {
750         "fillColor": "rgba(31, 118, 189, 0.18)",
751         "full": false,
752         "lineColor": "rgb(31, 120, 193)",
753         "show": false
754       },
755       "tableColumn": "",
756       "targets": [
757         {
758           "expr": "avg(probe_duration_seconds{instance=~\"$target\"})",
759           "format": "time_series",
760           "interval": "$interval",
761           "intervalFactor": 1,
762           "refId": "A"
763         }
764       ],
765       "thresholds": "",
766       "title": "Average Probe Duration",
767       "type": "singlestat",
768       "valueFontSize": "80%",
769       "valueMaps": [
770         {
771           "op": "=",
772           "text": "N/A",
773           "value": "null"
774         }
775       ],
776       "valueName": "current"
777     },
778     {
779       "cacheTimeout": null,
780       "colorBackground": false,
781       "colorValue": false,
782       "colors": [
783         "#299c46",
784         "rgba(237, 129, 40, 0.89)",
785         "#d44a3a"
786       ],
787       "datasource": "${DS_PROMETHEUS}",
788       "format": "s",
789       "gauge": {
790         "maxValue": 100,
791         "minValue": 0,
792         "show": false,
793         "thresholdLabels": false,
794         "thresholdMarkers": true
795       },
796       "gridPos": {
797         "h": 2,
798         "w": 5,
799         "x": 19,
800         "y": 15
801       },
802       "id": 24,
803       "interval": null,
804       "links": [],
805       "mappingType": 1,
806       "mappingTypes": [
807         {
808           "name": "value to text",
809           "value": 1
810         },
811         {
812           "name": "range to text",
813           "value": 2
814         }
815       ],
816       "maxDataPoints": 100,
817       "nullPointMode": "connected",
818       "nullText": null,
819       "postfix": "",
820       "postfixFontSize": "50%",
821       "prefix": "",
822       "prefixFontSize": "50%",
823       "rangeMaps": [
824         {
825           "from": "null",
826           "text": "N/A",
827           "to": "null"
828         }
829       ],
830       "repeat": null,
831       "repeatDirection": "h",
832       "sparkline": {
833         "fillColor": "rgba(31, 118, 189, 0.18)",
834         "full": false,
835         "lineColor": "rgb(31, 120, 193)",
836         "show": false
837       },
838       "tableColumn": "",
839       "targets": [
840         {
841           "expr": "avg(probe_dns_lookup_time_seconds{instance=~\"$target\"})",
842           "format": "time_series",
843           "interval": "$interval",
844           "intervalFactor": 1,
845           "refId": "A"
846         }
847       ],
848       "thresholds": "",
849       "title": "Average DNS Lookup",
850       "type": "singlestat",
851       "valueFontSize": "80%",
852       "valueMaps": [
853         {
854           "op": "=",
855           "text": "N/A",
856           "value": "null"
857         }
858       ],
859       "valueName": "current"
860     }
861   ],
862   "refresh": "10s",
863   "schemaVersion": 16,
864   "style": "dark",
865   "tags": [
866     "blackbox",
867     "prometheus"
868   ],
869   "templating": {
870     "list": [
871       {
872         "current": {
873           "selected": false,
874           "text": "default",
875           "value": "default"
876         },
877         "hide": 0,
878         "includeAll": false,
879         "label": "datasource",
880         "multi": false,
881         "name": "DS_PROMETHEUS",
882         "options": [],
883         "query": "prometheus",
884         "refresh": 1,
885         "regex": "",
886         "skipUrlSync": false,
887         "type": "datasource"
888       },
889       {
890         "auto": true,
891         "auto_count": 10,
892         "auto_min": "10s",
893         "current": {
894           "text": "10s",
895           "value": "10s"
896         },
897         "hide": 0,
898         "label": "Interval",
899         "name": "interval",
900         "options": [
901           {
902             "selected": false,
903             "text": "auto",
904             "value": "$__auto_interval_interval"
905           },
906           {
907             "selected": false,
908             "text": "5s",
909             "value": "5s"
910           },
911           {
912             "selected": true,
913             "text": "10s",
914             "value": "10s"
915           },
916           {
917             "selected": false,
918             "text": "30s",
919             "value": "30s"
920           },
921           {
922             "selected": false,
923             "text": "1m",
924             "value": "1m"
925           },
926           {
927             "selected": false,
928             "text": "10m",
929             "value": "10m"
930           },
931           {
932             "selected": false,
933             "text": "30m",
934             "value": "30m"
935           },
936           {
937             "selected": false,
938             "text": "1h",
939             "value": "1h"
940           },
941           {
942             "selected": false,
943             "text": "6h",
944             "value": "6h"
945           },
946           {
947             "selected": false,
948             "text": "12h",
949             "value": "12h"
950           },
951           {
952             "selected": false,
953             "text": "1d",
954             "value": "1d"
955           },
956           {
957             "selected": false,
958             "text": "7d",
959             "value": "7d"
960           },
961           {
962             "selected": false,
963             "text": "14d",
964             "value": "14d"
965           },
966           {
967             "selected": false,
968             "text": "30d",
969             "value": "30d"
970           }
971         ],
972         "query": "5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
973         "refresh": 2,
974         "type": "interval"
975       },
976       {
977         "allValue": null,
978         "current": {},
979         "datasource": "${DS_PROMETHEUS}",
980         "hide": 0,
981         "includeAll": true,
982         "label": null,
983         "multi": true,
984         "name": "target",
985         "options": [],
986         "query": "label_values(probe_success, instance)",
987         "refresh": 1,
988         "regex": "",
989         "sort": 0,
990         "tagValuesQuery": "",
991         "tags": [],
992         "tagsQuery": "",
993         "type": "query",
994         "useTags": false
995       }
996     ]
997   },
998   "time": {
999     "from": "now-4h",
1000     "to": "now"
1001   },
1002   "timepicker": {
1003     "refresh_intervals": [
1004       "5s",
1005       "10s",
1006       "30s",
1007       "1m",
1008       "5m",
1009       "15m",
1010       "30m",
1011       "1h",
1012       "2h",
1013       "1d"
1014     ],
1015     "time_options": [
1016       "5m",
1017       "15m",
1018       "1h",
1019       "6h",
1020       "12h",
1021       "24h",
1022       "2d",
1023       "7d",
1024       "30d"
1025     ]
1026   },
1027   "timezone": "browser",
1028   "title": "HTTP Exporter",
1029   "version": 1
1030 }