Restructure of csit files to be used both by docker and k8s config
[policy/docker.git] / compose / metrics / dashboards / dashboard-drools-pdp.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         "target": {
12           "limit": 100,
13           "matchAny": false,
14           "tags": [],
15           "type": "dashboard"
16         },
17         "type": "dashboard"
18       }
19     ]
20   },
21   "description": "Grafana Dashboard for Policy Drools-PDP",
22   "editable": true,
23   "fiscalYearStartMonth": 0,
24   "graphTooltip": 0,
25   "id": 9,
26   "links": [],
27   "liveNow": false,
28   "panels": [
29     {
30       "collapsed": false,
31       "gridPos": {
32         "h": 1,
33         "w": 24,
34         "x": 0,
35         "y": 0
36       },
37       "id": 19,
38       "panels": [],
39       "title": "Quick Info",
40       "type": "row"
41     },
42     {
43       "description": "Uptime per pod for Policy Drools-PDP application calculated in days",
44       "fieldConfig": {
45         "defaults": {
46           "color": {
47             "mode": "palette-classic"
48           },
49           "decimals": 1,
50           "mappings": [],
51           "thresholds": {
52             "mode": "absolute",
53             "steps": [
54               {
55                 "color": "green",
56                 "value": null
57               },
58               {
59                 "color": "red",
60                 "value": 80
61               }
62             ]
63           }
64         },
65         "overrides": []
66       },
67       "gridPos": {
68         "h": 6,
69         "w": 6,
70         "x": 0,
71         "y": 1
72       },
73       "id": 4,
74       "options": {
75         "colorMode": "value",
76         "graphMode": "none",
77         "justifyMode": "auto",
78         "orientation": "vertical",
79         "reduceOptions": {
80           "calcs": [],
81           "fields": "",
82           "values": false
83         },
84         "text": {
85           "titleSize": 16
86         },
87         "textMode": "value_and_name"
88       },
89       "pluginVersion": "8.3.4",
90       "targets": [
91         {
92           "datasource": {
93             "type": "prometheus",
94             "uid": "dkSf71fnz"
95           },
96           "exemplar": true,
97           "expr": "(time() - process_start_time_seconds{job=\"drools-pdp-metrics\"}) / 86400",
98           "format": "time_series",
99           "instant": false,
100           "interval": "",
101           "legendFormat": "process_uptime: {{ pod }}",
102           "refId": "A"
103         }
104       ],
105       "title": "Process Uptime (days)",
106       "transformations": [],
107       "transparent": true,
108       "type": "stat"
109     },
110     {
111       "description": "Policy Drools-PDP CPU Usage Monitoring",
112       "fieldConfig": {
113         "defaults": {
114           "color": {
115             "mode": "palette-classic"
116           },
117           "decimals": 2,
118           "mappings": [],
119           "max": 100,
120           "min": 0,
121           "thresholds": {
122             "mode": "absolute",
123             "steps": [
124               {
125                 "color": "green",
126                 "value": null
127               }
128             ]
129           },
130           "unit": "percent"
131         },
132         "overrides": [
133           {
134             "matcher": {
135               "id": "byName",
136               "options": "process-1h: dev-policy-api-69f54f45cc-wq6xq"
137             },
138             "properties": [
139               {
140                 "id": "color",
141                 "value": {
142                   "fixedColor": "dark-purple",
143                   "mode": "fixed"
144                 }
145               }
146             ]
147           },
148           {
149             "matcher": {
150               "id": "byName",
151               "options": "process_1h: dev-policy-api-69f54f45cc-wq6xq"
152             },
153             "properties": [
154               {
155                 "id": "color",
156                 "value": {
157                   "fixedColor": "dark-purple",
158                   "mode": "fixed"
159                 }
160               }
161             ]
162           }
163         ]
164       },
165       "gridPos": {
166         "h": 6,
167         "w": 8,
168         "x": 7,
169         "y": 1
170       },
171       "id": 26,
172       "options": {
173         "orientation": "auto",
174         "reduceOptions": {
175           "calcs": [
176             "last"
177           ],
178           "fields": "",
179           "values": false
180         },
181         "showThresholdLabels": false,
182         "showThresholdMarkers": false,
183         "text": {}
184       },
185       "pluginVersion": "8.3.4",
186       "targets": [
187         {
188           "datasource": {
189             "type": "prometheus",
190             "uid": "dkSf71fnz"
191           },
192           "exemplar": true,
193           "expr": "irate(process_cpu_seconds_total{job=\"drools-pdp-metrics\"}[5m])*100",
194           "interval": "",
195           "legendFormat": "{{pod}}",
196           "refId": "A"
197         }
198       ],
199       "title": "CPU Usage",
200       "type": "gauge"
201     },
202     {
203       "description": "Policy Drools-PDP Memory Usage Monitoring",
204       "fieldConfig": {
205         "defaults": {
206           "color": {
207             "mode": "palette-classic"
208           },
209           "mappings": [],
210           "max": 100,
211           "min": 0,
212           "thresholds": {
213             "mode": "absolute",
214             "steps": [
215               {
216                 "color": "green",
217                 "value": null
218               },
219               {
220                 "color": "red",
221                 "value": 80
222               }
223             ]
224           },
225           "unit": "percent"
226         },
227         "overrides": [
228           {
229             "matcher": {
230               "id": "byName",
231               "options": "{area=\"heap\", container=\"policy-api\", endpoint=\"policy-api\", id=\"Tenured Gen\", instance=\"10.42.7.19:6969\", job=\"policy-api\", namespace=\"onap\", pod=\"dev-policy-api-69f54f45cc-sb56v\", service=\"policy-api\"}"
232             },
233             "properties": [
234               {
235                 "id": "color",
236                 "value": {
237                   "fixedColor": "text",
238                   "mode": "fixed"
239                 }
240               }
241             ]
242           },
243           {
244             "matcher": {
245               "id": "byName",
246               "options": "Tenured Gen - dev-policy-api-69f54f45cc-wq6xq"
247             },
248             "properties": [
249               {
250                 "id": "color",
251                 "value": {
252                   "fixedColor": "dark-purple",
253                   "mode": "fixed"
254                 }
255               }
256             ]
257           }
258         ]
259       },
260       "gridPos": {
261         "h": 6,
262         "w": 8,
263         "x": 16,
264         "y": 1
265       },
266       "id": 27,
267       "options": {
268         "orientation": "auto",
269         "reduceOptions": {
270           "calcs": [
271             "last"
272           ],
273           "fields": "",
274           "values": false
275         },
276         "showThresholdLabels": false,
277         "showThresholdMarkers": false
278       },
279       "pluginVersion": "8.3.4",
280       "targets": [
281         {
282           "datasource": {
283             "type": "prometheus",
284             "uid": "dkSf71fnz"
285           },
286           "exemplar": true,
287           "expr": "100 * jvm_memory_bytes_used{area=\"heap\", job=\"drools-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"drools-pdp-metrics\"}",
288           "hide": false,
289           "interval": "",
290           "legendFormat": "Heap : {{ pod }}",
291           "refId": "A"
292         }
293       ],
294       "title": "Memory Usage",
295       "type": "gauge"
296     },
297     {
298       "collapsed": false,
299       "gridPos": {
300         "h": 1,
301         "w": 24,
302         "x": 0,
303         "y": 7
304       },
305       "id": 17,
306       "panels": [],
307       "title": "System",
308       "type": "row"
309     },
310     {
311       "description": "Policy Drools-PDP CPU Usage Monitoring",
312       "fieldConfig": {
313         "defaults": {
314           "color": {
315             "mode": "palette-classic"
316           },
317           "custom": {
318             "axisLabel": "",
319             "axisPlacement": "auto",
320             "barAlignment": 0,
321             "drawStyle": "line",
322             "fillOpacity": 0,
323             "gradientMode": "none",
324             "hideFrom": {
325               "legend": false,
326               "tooltip": false,
327               "viz": false
328             },
329             "lineInterpolation": "linear",
330             "lineStyle": {
331               "fill": "solid"
332             },
333             "lineWidth": 1,
334             "pointSize": 1,
335             "scaleDistribution": {
336               "type": "linear"
337             },
338             "showPoints": "auto",
339             "spanNulls": false,
340             "stacking": {
341               "group": "A",
342               "mode": "none"
343             },
344             "thresholdsStyle": {
345               "mode": "off"
346             }
347           },
348           "mappings": [],
349           "thresholds": {
350             "mode": "absolute",
351             "steps": [
352               {
353                 "color": "green",
354                 "value": null
355               },
356               {
357                 "color": "red",
358                 "value": 80
359               }
360             ]
361           },
362           "unit": "percent"
363         },
364         "overrides": [
365           {
366             "matcher": {
367               "id": "byName",
368               "options": "process-1h: dev-policy-api-69f54f45cc-wq6xq"
369             },
370             "properties": [
371               {
372                 "id": "color",
373                 "value": {
374                   "fixedColor": "dark-purple",
375                   "mode": "fixed"
376                 }
377               }
378             ]
379           },
380           {
381             "matcher": {
382               "id": "byName",
383               "options": "process_1h: dev-policy-api-69f54f45cc-wq6xq"
384             },
385             "properties": [
386               {
387                 "id": "color",
388                 "value": {
389                   "fixedColor": "dark-purple",
390                   "mode": "fixed"
391                 }
392               }
393             ]
394           }
395         ]
396       },
397       "gridPos": {
398         "h": 14,
399         "w": 12,
400         "x": 0,
401         "y": 8
402       },
403       "id": 2,
404       "options": {
405         "legend": {
406           "calcs": [
407             "max",
408             "mean",
409             "last"
410           ],
411           "displayMode": "table",
412           "placement": "bottom",
413           "sortBy": "Max",
414           "sortDesc": true
415         },
416         "tooltip": {
417           "mode": "single",
418           "sort": "none"
419         }
420       },
421       "targets": [
422         {
423           "datasource": {
424             "type": "prometheus",
425             "uid": "dkSf71fnz"
426           },
427           "exemplar": true,
428           "expr": "irate(process_cpu_seconds_total{job=\"drools-pdp-metrics\"}[5m])*100",
429           "interval": "",
430           "legendFormat": "system: {{pod}}",
431           "refId": "A"
432         }
433       ],
434       "title": "CPU Usage",
435       "type": "timeseries"
436     },
437     {
438       "description": "Policy Drools-PDP Memory Usage Monitoring",
439       "fieldConfig": {
440         "defaults": {
441           "color": {
442             "mode": "palette-classic"
443           },
444           "custom": {
445             "axisLabel": "",
446             "axisPlacement": "auto",
447             "barAlignment": 0,
448             "drawStyle": "line",
449             "fillOpacity": 0,
450             "gradientMode": "none",
451             "hideFrom": {
452               "legend": false,
453               "tooltip": false,
454               "viz": false
455             },
456             "lineInterpolation": "linear",
457             "lineStyle": {
458               "fill": "solid"
459             },
460             "lineWidth": 1,
461             "pointSize": 1,
462             "scaleDistribution": {
463               "type": "linear"
464             },
465             "showPoints": "auto",
466             "spanNulls": false,
467             "stacking": {
468               "group": "A",
469               "mode": "none"
470             },
471             "thresholdsStyle": {
472               "mode": "off"
473             }
474           },
475           "mappings": [],
476           "thresholds": {
477             "mode": "absolute",
478             "steps": [
479               {
480                 "color": "green",
481                 "value": null
482               },
483               {
484                 "color": "red",
485                 "value": 80
486               }
487             ]
488           },
489           "unit": "percent"
490         },
491         "overrides": [
492           {
493             "matcher": {
494               "id": "byName",
495               "options": "{area=\"heap\", container=\"policy-api\", endpoint=\"policy-api\", id=\"Tenured Gen\", instance=\"10.42.7.19:6969\", job=\"policy-api\", namespace=\"onap\", pod=\"dev-policy-api-69f54f45cc-sb56v\", service=\"policy-api\"}"
496             },
497             "properties": [
498               {
499                 "id": "color",
500                 "value": {
501                   "fixedColor": "text",
502                   "mode": "fixed"
503                 }
504               }
505             ]
506           },
507           {
508             "matcher": {
509               "id": "byName",
510               "options": "Tenured Gen - dev-policy-api-69f54f45cc-wq6xq"
511             },
512             "properties": [
513               {
514                 "id": "color",
515                 "value": {
516                   "fixedColor": "dark-purple",
517                   "mode": "fixed"
518                 }
519               }
520             ]
521           }
522         ]
523       },
524       "gridPos": {
525         "h": 11,
526         "w": 12,
527         "x": 12,
528         "y": 8
529       },
530       "id": 13,
531       "options": {
532         "legend": {
533           "calcs": [
534             "max",
535             "mean",
536             "last"
537           ],
538           "displayMode": "table",
539           "placement": "bottom",
540           "sortBy": "Last",
541           "sortDesc": false
542         },
543         "tooltip": {
544           "mode": "single",
545           "sort": "none"
546         }
547       },
548       "targets": [
549         {
550           "datasource": {
551             "type": "prometheus",
552             "uid": "dkSf71fnz"
553           },
554           "exemplar": true,
555           "expr": "100 * jvm_memory_bytes_used{area=\"heap\", job=\"drools-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"drools-pdp-metrics\"}",
556           "hide": false,
557           "interval": "",
558           "legendFormat": "Heap : {{ pod }}",
559           "refId": "A"
560         }
561       ],
562       "title": "Memory Usage",
563       "type": "timeseries"
564     },
565     {
566       "description": "Policy Drools-PDP JVM Threads",
567       "fieldConfig": {
568         "defaults": {
569           "color": {
570             "mode": "palette-classic"
571           },
572           "custom": {
573             "axisLabel": "",
574             "axisPlacement": "auto",
575             "barAlignment": 0,
576             "drawStyle": "line",
577             "fillOpacity": 0,
578             "gradientMode": "none",
579             "hideFrom": {
580               "legend": false,
581               "tooltip": false,
582               "viz": false
583             },
584             "lineInterpolation": "linear",
585             "lineWidth": 1,
586             "pointSize": 5,
587             "scaleDistribution": {
588               "type": "linear"
589             },
590             "showPoints": "never",
591             "spanNulls": true,
592             "stacking": {
593               "group": "A",
594               "mode": "none"
595             },
596             "thresholdsStyle": {
597               "mode": "off"
598             }
599           },
600           "mappings": [],
601           "thresholds": {
602             "mode": "absolute",
603             "steps": [
604               {
605                 "color": "green",
606                 "value": null
607               },
608               {
609                 "color": "red",
610                 "value": 80
611               }
612             ]
613           },
614           "unit": "short"
615         },
616         "overrides": []
617       },
618       "gridPos": {
619         "h": 13,
620         "w": 12,
621         "x": 12,
622         "y": 19
623       },
624       "id": 8,
625       "options": {
626         "legend": {
627           "calcs": [
628             "max",
629             "last",
630             "mean"
631           ],
632           "displayMode": "table",
633           "placement": "bottom"
634         },
635         "tooltip": {
636           "mode": "multi",
637           "sort": "none"
638         }
639       },
640       "pluginVersion": "8.4.5",
641       "targets": [
642         {
643           "datasource": {
644             "type": "prometheus",
645             "uid": "dkSf71fnz"
646           },
647           "exemplar": true,
648           "expr": "jvm_threads_current{job=\"drools-pdp-metrics\"}",
649           "interval": "",
650           "legendFormat": "Live Threads: {{ pod }}",
651           "refId": "A"
652         },
653         {
654           "datasource": {
655             "type": "prometheus",
656             "uid": "dkSf71fnz"
657           },
658           "exemplar": true,
659           "expr": "jvm_threads_peak{job=\"drools-pdp-metrics\"}",
660           "hide": false,
661           "interval": "",
662           "legendFormat": "Peak Threads: {{ pod }}",
663           "refId": "B"
664         },
665         {
666           "datasource": {
667             "type": "prometheus",
668             "uid": "dkSf71fnz"
669           },
670           "exemplar": true,
671           "expr": "jvm_threads_daemon{job=\"policy-drools-pdp\"}",
672           "hide": false,
673           "interval": "",
674           "legendFormat": "Daemon Threads: {{ pod }}",
675           "refId": "C"
676         }
677       ],
678       "title": "JVM threads",
679       "type": "timeseries"
680     },
681     {
682       "collapsed": false,
683       "gridPos": {
684         "h": 1,
685         "w": 24,
686         "x": 0,
687         "y": 32
688       },
689       "id": 15,
690       "panels": [],
691       "title": "Garbage Collection",
692       "type": "row"
693     },
694     {
695       "description": "GC operations per second",
696       "fieldConfig": {
697         "defaults": {
698           "color": {
699             "mode": "palette-classic"
700           },
701           "custom": {
702             "axisLabel": "",
703             "axisPlacement": "auto",
704             "barAlignment": 0,
705             "drawStyle": "line",
706             "fillOpacity": 0,
707             "gradientMode": "none",
708             "hideFrom": {
709               "legend": false,
710               "tooltip": false,
711               "viz": false
712             },
713             "lineInterpolation": "linear",
714             "lineWidth": 1,
715             "pointSize": 1,
716             "scaleDistribution": {
717               "type": "linear"
718             },
719             "showPoints": "auto",
720             "spanNulls": false,
721             "stacking": {
722               "group": "A",
723               "mode": "none"
724             },
725             "thresholdsStyle": {
726               "mode": "off"
727             }
728           },
729           "mappings": [],
730           "thresholds": {
731             "mode": "absolute",
732             "steps": [
733               {
734                 "color": "green",
735                 "value": null
736               },
737               {
738                 "color": "red",
739                 "value": 80
740               }
741             ]
742           },
743           "unit": "ops"
744         },
745         "overrides": []
746       },
747       "gridPos": {
748         "h": 8,
749         "w": 12,
750         "x": 0,
751         "y": 33
752       },
753       "id": 10,
754       "options": {
755         "legend": {
756           "calcs": [
757             "max",
758             "mean",
759             "last"
760           ],
761           "displayMode": "table",
762           "placement": "bottom"
763         },
764         "tooltip": {
765           "mode": "single",
766           "sort": "none"
767         }
768       },
769       "targets": [
770         {
771           "datasource": {
772             "type": "prometheus",
773             "uid": "dkSf71fnz"
774           },
775           "exemplar": true,
776           "expr": "rate(jvm_gc_collection_seconds_count{job=\"drools-pdp-metrics\"}[5m])",
777           "interval": "",
778           "legendFormat": "{{ gc }} : {{ pod }}",
779           "refId": "A"
780         }
781       ],
782       "title": "Collection",
783       "type": "timeseries"
784     },
785     {
786       "description": "Average GC Time",
787       "fieldConfig": {
788         "defaults": {
789           "color": {
790             "mode": "palette-classic"
791           },
792           "custom": {
793             "axisLabel": "",
794             "axisPlacement": "auto",
795             "barAlignment": 0,
796             "drawStyle": "line",
797             "fillOpacity": 0,
798             "gradientMode": "none",
799             "hideFrom": {
800               "legend": false,
801               "tooltip": false,
802               "viz": false
803             },
804             "lineInterpolation": "linear",
805             "lineWidth": 1,
806             "pointSize": 1,
807             "scaleDistribution": {
808               "type": "linear"
809             },
810             "showPoints": "auto",
811             "spanNulls": false,
812             "stacking": {
813               "group": "A",
814               "mode": "none"
815             },
816             "thresholdsStyle": {
817               "mode": "off"
818             }
819           },
820           "mappings": [],
821           "thresholds": {
822             "mode": "absolute",
823             "steps": [
824               {
825                 "color": "green",
826                 "value": null
827               },
828               {
829                 "color": "red",
830                 "value": 80
831               }
832             ]
833           }
834         },
835         "overrides": []
836       },
837       "gridPos": {
838         "h": 8,
839         "w": 12,
840         "x": 12,
841         "y": 33
842       },
843       "id": 22,
844       "options": {
845         "legend": {
846           "calcs": [
847             "last"
848           ],
849           "displayMode": "table",
850           "placement": "bottom"
851         },
852         "tooltip": {
853           "mode": "single",
854           "sort": "none"
855         }
856       },
857       "targets": [
858         {
859           "datasource": {
860             "type": "prometheus",
861             "uid": "dkSf71fnz"
862           },
863           "exemplar": true,
864           "expr": "rate(jvm_gc_collection_seconds_sum{job=\"drools-pdp-metrics\"}[5m])/rate(jvm_gc_collection_seconds_count{job=\"drools-pdp-metrics\"}[5m])",
865           "interval": "",
866           "legendFormat": "avg {{ gc }} : {{ pod }}",
867           "refId": "A"
868         }
869       ],
870       "title": "Pause Durations",
871       "type": "timeseries"
872     },
873     {
874       "collapsed": false,
875       "gridPos": {
876         "h": 1,
877         "w": 24,
878         "x": 0,
879         "y": 41
880       },
881       "id": 21,
882       "panels": [],
883       "title": "Requests",
884       "type": "row"
885     },
886     {
887       "description": "Policy Deployments Total for Drools-PDP",
888       "fieldConfig": {
889         "defaults": {
890           "color": {
891             "mode": "palette-classic"
892           },
893           "mappings": [],
894           "thresholds": {
895             "mode": "absolute",
896             "steps": [
897               {
898                 "color": "green",
899                 "value": null
900               },
901               {
902                 "color": "red",
903                 "value": 80
904               }
905             ]
906           },
907           "unit": "none"
908         },
909         "overrides": []
910       },
911       "gridPos": {
912         "h": 8,
913         "w": 12,
914         "x": 0,
915         "y": 42
916       },
917       "id": 12,
918       "options": {
919         "displayMode": "gradient",
920         "orientation": "auto",
921         "reduceOptions": {
922           "calcs": [
923             "lastNotNull"
924           ],
925           "fields": "",
926           "values": false
927         },
928         "showUnfilled": true
929       },
930       "pluginVersion": "8.3.4",
931       "targets": [
932         {
933           "datasource": {
934             "type": "prometheus",
935             "uid": "dkSf71fnz"
936           },
937           "exemplar": true,
938           "expr": "avg by(job)(pdpd_policy_deployments_total{job=\"drools-pdp-metrics\", operation=\"deploy\", status=\"SUCCESS\"})",
939           "interval": "",
940           "legendFormat": "Deploy - Success",
941           "refId": "A"
942         },
943         {
944           "datasource": {
945             "type": "prometheus",
946             "uid": "dkSf71fnz"
947           },
948           "exemplar": true,
949           "expr": "avg by(job)(pdpd_policy_deployments_total{job=\"drools-pdp-metrics\", operation=\"deploy\", status=\"FAILURE\"})",
950           "hide": false,
951           "interval": "",
952           "legendFormat": "Deploy - Failure",
953           "refId": "B"
954         },
955         {
956           "datasource": {
957             "type": "prometheus",
958             "uid": "dkSf71fnz"
959           },
960           "exemplar": true,
961           "expr": "avg by(job)(pdpd_policy_deployments_total{job=\"drools-pdp-metrics\", operation=\"undeploy\", status=\"SUCCESS\"})",
962           "hide": false,
963           "interval": "",
964           "legendFormat": "Undeploy - Success",
965           "refId": "D"
966         },
967         {
968           "datasource": {
969             "type": "prometheus",
970             "uid": "dkSf71fnz"
971           },
972           "exemplar": true,
973           "expr": "avg by(job)(pdpd_policy_deployments_total{job=\"drools-pdp-metrics\", operation=\"undeploy\", status=\"FAILURE\"})",
974           "hide": false,
975           "interval": "",
976           "legendFormat": "Undeploy - Failure",
977           "refId": "E"
978         }
979       ],
980       "title": "Policy Deployments Total",
981       "type": "bargauge"
982     },
983     {
984       "description": "Policy Executions Total for Drools-PDP per instance",
985       "fieldConfig": {
986         "defaults": {
987           "color": {
988             "mode": "palette-classic"
989           },
990           "mappings": [],
991           "thresholds": {
992             "mode": "absolute",
993             "steps": [
994               {
995                 "color": "green",
996                 "value": null
997               },
998               {
999                 "color": "red",
1000                 "value": 80
1001               }
1002             ]
1003           },
1004           "unit": "none"
1005         },
1006         "overrides": []
1007       },
1008       "gridPos": {
1009         "h": 8,
1010         "w": 12,
1011         "x": 12,
1012         "y": 42
1013       },
1014       "id": 30,
1015       "options": {
1016         "displayMode": "gradient",
1017         "orientation": "auto",
1018         "reduceOptions": {
1019           "calcs": [
1020             "lastNotNull"
1021           ],
1022           "fields": "",
1023           "values": false
1024         },
1025         "showUnfilled": true
1026       },
1027       "pluginVersion": "8.3.4",
1028       "targets": [
1029         {
1030           "datasource": {
1031             "type": "prometheus",
1032             "uid": "dkSf71fnz"
1033           },
1034           "exemplar": true,
1035           "expr": "pdpd_policy_executions_latency_seconds_count{job=\"drools-pdp-metrics\"}",
1036           "hide": false,
1037           "interval": "",
1038           "legendFormat": "Executions - Count",
1039           "refId": "B"
1040         },
1041         {
1042           "datasource": {
1043             "type": "prometheus",
1044             "uid": "dkSf71fnz"
1045           },
1046           "exemplar": true,
1047           "expr": "pdpd_policy_executions_latency_seconds_sum{job=\"drools-pdp-metrics\"}",
1048           "hide": false,
1049           "interval": "",
1050           "legendFormat": "Executions - Sum",
1051           "refId": "C"
1052         }
1053       ],
1054       "title": "Policy Executions",
1055       "type": "bargauge"
1056     },
1057     {
1058       "collapsed": false,
1059       "gridPos": {
1060         "h": 1,
1061         "w": 24,
1062         "x": 0,
1063         "y": 50
1064       },
1065       "id": 34,
1066       "panels": [],
1067       "title": "Logging",
1068       "type": "row"
1069     },
1070     {
1071       "description": "Policy number of log entries for Drool-PDP",
1072       "fieldConfig": {
1073         "defaults": {
1074           "color": {
1075             "mode": "thresholds"
1076           },
1077           "mappings": [],
1078           "thresholds": {
1079             "mode": "absolute",
1080             "steps": [
1081               {
1082                 "color": "green",
1083                 "value": null
1084               },
1085               {
1086                 "color": "red",
1087                 "value": 80
1088               }
1089             ]
1090           }
1091         },
1092         "overrides": []
1093       },
1094       "gridPos": {
1095         "h": 8,
1096         "w": 24,
1097         "x": 0,
1098         "y": 51
1099       },
1100       "id": 36,
1101       "options": {
1102         "colorMode": "value",
1103         "graphMode": "area",
1104         "justifyMode": "auto",
1105         "orientation": "auto",
1106         "reduceOptions": {
1107           "calcs": [
1108             "lastNotNull"
1109           ],
1110           "fields": "",
1111           "values": false
1112         },
1113         "textMode": "auto"
1114       },
1115       "pluginVersion": "8.3.4",
1116       "targets": [
1117         {
1118           "datasource": {
1119             "type": "prometheus",
1120             "uid": "dkSf71fnz"
1121           },
1122           "exemplar": true,
1123           "expr": "logback_appender_total{job=\"drools-pdp-metrics\"}",
1124           "interval": "",
1125           "legendFormat": "Level",
1126           "refId": "A"
1127         }
1128       ],
1129       "title": "Logback Total",
1130       "type": "stat"
1131     }
1132   ],
1133   "refresh": "",
1134   "schemaVersion": 34,
1135   "style": "dark",
1136   "tags": [],
1137   "templating": {
1138     "list": []
1139   },
1140   "time": {
1141     "from": "now-3h",
1142     "to": "now"
1143   },
1144   "timepicker": {},
1145   "timezone": "",
1146   "title": "Policy Drools-PDP",
1147   "uid": "ro24hskVz",
1148   "version": 2,
1149   "weekStart": ""
1150 }