21700: Install Bundler system-wide in Rails postinst
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / dashboards / ssl-certificate-monitor.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     "__elements": {},
13     "__requires": [
14       {
15         "type": "grafana",
16         "id": "grafana",
17         "name": "Grafana",
18         "version": "10.1.5"
19       },
20       {
21         "type": "datasource",
22         "id": "prometheus",
23         "name": "Prometheus",
24         "version": "1.0.0"
25       },
26       {
27         "type": "panel",
28         "id": "table",
29         "name": "Table",
30         "version": ""
31       }
32     ],
33     "annotations": {
34       "list": [
35         {
36           "builtIn": 1,
37           "datasource": {
38             "type": "datasource",
39             "uid": "grafana"
40           },
41           "enable": true,
42           "hide": true,
43           "iconColor": "rgba(0, 211, 255, 1)",
44           "name": "Annotations & Alerts",
45           "type": "dashboard"
46         }
47       ]
48     },
49     "description": "",
50     "editable": true,
51     "fiscalYearStartMonth": 0,
52     "gnetId": 13230,
53     "graphTooltip": 0,
54     "id": null,
55     "links": [],
56     "liveNow": false,
57     "panels": [
58       {
59         "datasource": {
60           "type": "prometheus",
61           "uid": "${DS_PROMETHEUS}"
62         },
63         "description": "",
64         "fieldConfig": {
65           "defaults": {
66             "custom": {
67               "align": "auto",
68               "cellOptions": {
69                 "type": "auto"
70               },
71               "filterable": false,
72               "inspect": false
73             },
74             "mappings": [],
75             "thresholds": {
76               "mode": "absolute",
77               "steps": [
78                 {
79                   "color": "green",
80                   "value": null
81                 },
82                 {
83                   "color": "red",
84                   "value": 80
85                 }
86               ]
87             }
88           },
89           "overrides": [
90             {
91               "matcher": {
92                 "id": "byName",
93                 "options": "instance"
94               },
95               "properties": [
96                 {
97                   "id": "custom.width",
98                   "value": 500
99                 },
100                 {
101                   "id": "displayName",
102                   "value": "Instance"
103                 }
104               ]
105             },
106             {
107               "matcher": {
108                 "id": "byName",
109                 "options": "Value #B"
110               },
111               "properties": [
112                 {
113                   "id": "custom.cellOptions",
114                   "value": {
115                     "mode": "lcd",
116                     "type": "gauge"
117                   }
118                 },
119                 {
120                   "id": "max",
121                   "value": 0.5
122                 },
123                 {
124                   "id": "displayName",
125                   "value": "Connect Time"
126                 },
127                 {
128                   "id": "thresholds",
129                   "value": {
130                     "mode": "absolute",
131                     "steps": [
132                       {
133                         "color": "green",
134                         "value": null
135                       },
136                       {
137                         "color": "#EAB839",
138                         "value": 0.2
139                       },
140                       {
141                         "color": "red",
142                         "value": 0.4
143                       }
144                     ]
145                   }
146                 }
147               ]
148             },
149             {
150               "matcher": {
151                 "id": "byName",
152                 "options": "Value #A"
153               },
154               "properties": [
155                 {
156                   "id": "decimals",
157                   "value": 2
158                 },
159                 {
160                   "id": "displayName",
161                   "value": "Certificate expires in"
162                 },
163                 {
164                   "id": "thresholds",
165                   "value": {
166                     "mode": "absolute",
167                     "steps": [
168                       {
169                         "color": "semi-dark-red",
170                         "value": null
171                       },
172                       {
173                         "color": "semi-dark-yellow",
174                         "value": __TLS_EXPIRATION_YELLOW__
175                       },
176                       {
177                         "color": "semi-dark-green",
178                         "value": __TLS_EXPIRATION_GREEN__
179                       }
180                     ]
181                   }
182                 },
183                 {
184                   "id": "custom.cellOptions",
185                   "value": {
186                     "mode": "gradient",
187                     "type": "color-background"
188                   }
189                 },
190                 {
191                   "id": "custom.width",
192                   "value": 220
193                 },
194                 {
195                   "id": "custom.align",
196                   "value": "left"
197                 },
198                 {
199                   "id": "unit",
200                   "value": "dtdurations"
201                 }
202               ]
203             },
204             {
205               "matcher": {
206                 "id": "byName",
207                 "options": "Value #D"
208               },
209               "properties": [
210                 {
211                   "id": "displayName",
212                   "value": "HTTP Response"
213                 },
214                 {
215                   "id": "thresholds",
216                   "value": {
217                     "mode": "absolute",
218                     "steps": [
219                       {
220                         "color": "green",
221                         "value": null
222                       },
223                       {
224                         "color": "#EAB839",
225                         "value": 300
226                       },
227                       {
228                         "color": "red",
229                         "value": 400
230                       }
231                     ]
232                   }
233                 },
234                 {
235                   "id": "custom.cellOptions",
236                   "value": {
237                     "mode": "gradient",
238                     "type": "color-background"
239                   }
240                 },
241                 {
242                   "id": "custom.align",
243                   "value": "center"
244                 },
245                 {
246                   "id": "custom.width",
247                   "value": 150
248                 }
249               ]
250             },
251             {
252               "matcher": {
253                 "id": "byName",
254                 "options": "Value #C"
255               },
256               "properties": [
257                 {
258                   "id": "displayName",
259                   "value": "Transfer Time"
260                 },
261                 {
262                   "id": "max",
263                   "value": 0.5
264                 },
265                 {
266                   "id": "custom.cellOptions",
267                   "value": {
268                     "mode": "lcd",
269                     "type": "gauge"
270                   }
271                 },
272                 {
273                   "id": "thresholds",
274                   "value": {
275                     "mode": "absolute",
276                     "steps": [
277                       {
278                         "color": "green",
279                         "value": null
280                       },
281                       {
282                         "color": "#EAB839",
283                         "value": 0.125
284                       },
285                       {
286                         "color": "red",
287                         "value": 0.3
288                       }
289                     ]
290                   }
291                 }
292               ]
293             },
294             {
295               "matcher": {
296                 "id": "byName",
297                 "options": "Value #E"
298               },
299               "properties": [
300                 {
301                   "id": "displayName",
302                   "value": "TLS Time"
303                 },
304                 {
305                   "id": "custom.cellOptions",
306                   "value": {
307                     "mode": "lcd",
308                     "type": "gauge"
309                   }
310                 },
311                 {
312                   "id": "max",
313                   "value": 1
314                 },
315                 {
316                   "id": "thresholds",
317                   "value": {
318                     "mode": "absolute",
319                     "steps": [
320                       {
321                         "color": "green",
322                         "value": null
323                       },
324                       {
325                         "color": "#EAB839",
326                         "value": 0.5
327                       },
328                       {
329                         "color": "red",
330                         "value": 0.9
331                       }
332                     ]
333                   }
334                 }
335               ]
336             },
337             {
338               "matcher": {
339                 "id": "byName",
340                 "options": "Value #F"
341               },
342               "properties": [
343                 {
344                   "id": "displayName",
345                   "value": "Processing Time"
346                 },
347                 {
348                   "id": "max",
349                   "value": 0.5
350                 },
351                 {
352                   "id": "custom.cellOptions",
353                   "value": {
354                     "mode": "lcd",
355                     "type": "gauge"
356                   }
357                 },
358                 {
359                   "id": "thresholds",
360                   "value": {
361                     "mode": "absolute",
362                     "steps": [
363                       {
364                         "color": "green",
365                         "value": null
366                       },
367                       {
368                         "color": "#EAB839",
369                         "value": 0.25
370                       },
371                       {
372                         "color": "red",
373                         "value": 0.4
374                       }
375                     ]
376                   }
377                 }
378               ]
379             },
380             {
381               "matcher": {
382                 "id": "byName",
383                 "options": "Value #G"
384               },
385               "properties": [
386                 {
387                   "id": "displayName",
388                   "value": "Resolve Time"
389                 },
390                 {
391                   "id": "custom.cellOptions",
392                   "value": {
393                     "mode": "lcd",
394                     "type": "gauge"
395                   }
396                 },
397                 {
398                   "id": "max",
399                   "value": 0.01
400                 },
401                 {
402                   "id": "thresholds",
403                   "value": {
404                     "mode": "absolute",
405                     "steps": [
406                       {
407                         "color": "green",
408                         "value": null
409                       },
410                       {
411                         "color": "#EAB839",
412                         "value": 0.005
413                       },
414                       {
415                         "color": "red",
416                         "value": 0.009
417                       }
418                     ]
419                   }
420                 }
421               ]
422             }
423           ]
424         },
425         "gridPos": {
426           "h": 22,
427           "w": 24,
428           "x": 0,
429           "y": 0
430         },
431         "id": 2,
432         "options": {
433           "cellHeight": "sm",
434           "footer": {
435             "countRows": false,
436             "fields": "",
437             "reducer": [
438               "sum"
439             ],
440             "show": false
441           },
442           "frameIndex": 1,
443           "showHeader": true,
444           "sortBy": [
445             {
446               "desc": false,
447               "displayName": "Certificate expires in"
448             }
449           ]
450         },
451         "pluginVersion": "10.1.5",
452         "targets": [
453           {
454             "datasource": {
455               "type": "prometheus",
456               "uid": "${DS_PROMETHEUS}"
457             },
458             "expr": "probe_ssl_earliest_cert_expiry-time()",
459             "format": "table",
460             "hide": false,
461             "instant": true,
462             "interval": "",
463             "legendFormat": "",
464             "refId": "A"
465           },
466           {
467             "datasource": {
468               "type": "prometheus",
469               "uid": "${DS_PROMETHEUS}"
470             },
471             "expr": "probe_http_status_code",
472             "format": "table",
473             "instant": true,
474             "interval": "",
475             "legendFormat": "",
476             "refId": "D"
477           },
478           {
479             "datasource": {
480               "type": "prometheus",
481               "uid": "${DS_PROMETHEUS}"
482             },
483             "expr": "probe_http_duration_seconds{phase=\"resolve\"}",
484             "format": "table",
485             "instant": true,
486             "interval": "",
487             "legendFormat": "",
488             "refId": "G"
489           },
490           {
491             "datasource": {
492               "type": "prometheus",
493               "uid": "${DS_PROMETHEUS}"
494             },
495             "expr": "probe_http_duration_seconds{phase=\"connect\"}",
496             "format": "table",
497             "instant": true,
498             "interval": "",
499             "legendFormat": "",
500             "refId": "B"
501           },
502           {
503             "datasource": {
504               "type": "prometheus",
505               "uid": "${DS_PROMETHEUS}"
506             },
507             "expr": "probe_http_duration_seconds{phase=\"tls\"}",
508             "format": "table",
509             "instant": true,
510             "interval": "",
511             "legendFormat": "",
512             "refId": "E"
513           },
514           {
515             "datasource": {
516               "type": "prometheus",
517               "uid": "${DS_PROMETHEUS}"
518             },
519             "expr": "probe_http_duration_seconds{phase=\"processing\"}",
520             "format": "table",
521             "instant": true,
522             "interval": "",
523             "legendFormat": "",
524             "refId": "F"
525           },
526           {
527             "datasource": {
528               "type": "prometheus",
529               "uid": "${DS_PROMETHEUS}"
530             },
531             "expr": "probe_http_duration_seconds{phase=\"transfer\"}",
532             "format": "table",
533             "instant": true,
534             "interval": "",
535             "legendFormat": "",
536             "refId": "C"
537           }
538         ],
539         "title": "Certificate & Connection Monitoring",
540         "transformations": [
541           {
542             "id": "seriesToColumns",
543             "options": {
544               "byField": "instance"
545             }
546           },
547           {
548             "id": "organize",
549             "options": {
550               "excludeByName": {
551                 "Time": true,
552                 "Time 1": true,
553                 "Time 2": true,
554                 "Time 3": true,
555                 "Time 4": true,
556                 "Time 5": true,
557                 "Time 6": true,
558                 "Time 7": true,
559                 "__name__": true,
560                 "__name__ 1": true,
561                 "__name__ 2": true,
562                 "__name__ 3": true,
563                 "__name__ 4": true,
564                 "__name__ 5": true,
565                 "__name__ 6": true,
566                 "job": true,
567                 "job 1": true,
568                 "job 2": true,
569                 "job 3": true,
570                 "job 4": true,
571                 "job 5": true,
572                 "job 6": true,
573                 "job 7": true,
574                 "phase": true,
575                 "phase 1": true,
576                 "phase 2": true,
577                 "phase 3": true,
578                 "phase 4": true,
579                 "phase 5": true
580               },
581               "indexByName": {},
582               "renameByName": {}
583             }
584           }
585         ],
586         "type": "table"
587       }
588     ],
589     "refresh": "",
590     "schemaVersion": 38,
591     "style": "dark",
592     "tags": [],
593     "templating": {
594       "list": []
595     },
596     "time": {
597       "from": "now-6h",
598       "to": "now"
599     },
600     "timepicker": {},
601     "timezone": "",
602     "title": "SSL Certificate Monitor",
603     "uid": "r8eWoHpGz",
604     "version": 4,
605     "weekStart": ""
606   }