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