6 "datasource": "-- Grafana --",
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
21 "description": "Grafana Dashboard for Policy XACML-PDP",
23 "fiscalYearStartMonth": 0,
39 "title": "Quick Info",
43 "description": "Uptime per pod for Policy XACML-PDP application calculated in days",
47 "mode": "palette-classic"
77 "justifyMode": "auto",
78 "orientation": "vertical",
87 "textMode": "value_and_name"
89 "pluginVersion": "8.3.4",
97 "expr": "(time() - process_start_time_seconds{job=\"xacml-pdp-metrics\"}) / 86400",
98 "format": "time_series",
101 "legendFormat": "process_uptime: {{pod}}",
105 "title": "Process Uptime (days)",
106 "transformations": [],
111 "description": "Policy XACML-PDP CPU Usage Monitoring",
115 "mode": "palette-classic"
136 "options": "process-1h: dev-policy-api-69f54f45cc-wq6xq"
142 "fixedColor": "dark-purple",
151 "options": "process_1h: dev-policy-api-69f54f45cc-wq6xq"
157 "fixedColor": "dark-purple",
173 "orientation": "auto",
181 "showThresholdLabels": false,
182 "showThresholdMarkers": false,
185 "pluginVersion": "8.3.4",
189 "type": "prometheus",
193 "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[5m])*100",
195 "legendFormat": "{{pod}}",
199 "title": "CPU Usage",
203 "description": "Policy XACML-PDP Memory Usage Monitoring",
207 "mode": "palette-classic"
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\"}"
237 "fixedColor": "text",
246 "options": "Tenured Gen - dev-policy-api-69f54f45cc-wq6xq"
252 "fixedColor": "dark-purple",
268 "orientation": "auto",
276 "showThresholdLabels": false,
277 "showThresholdMarkers": false
279 "pluginVersion": "8.3.4",
283 "type": "prometheus",
287 "expr": "100 * jvm_memory_bytes_used{area=\"heap\", job=\"xacml-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"xacml-pdp-metrics\"}",
290 "legendFormat": "Heap : {{ pod }}",
294 "title": "Memory Usage",
311 "description": "Policy XACML-PDP CPU Usage Monitoring",
315 "mode": "palette-classic"
319 "axisPlacement": "auto",
323 "gradientMode": "none",
329 "lineInterpolation": "linear",
335 "scaleDistribution": {
338 "showPoints": "auto",
368 "options": "process-1h: dev-policy-api-69f54f45cc-wq6xq"
374 "fixedColor": "dark-purple",
383 "options": "process_1h: dev-policy-api-69f54f45cc-wq6xq"
389 "fixedColor": "dark-purple",
411 "displayMode": "table",
412 "placement": "bottom",
424 "type": "prometheus",
428 "expr": "irate(process_cpu_seconds_total{job=\"xacml-pdp-metrics\"}[5m])*100",
430 "legendFormat": "system: {{pod}}",
434 "title": "CPU Usage",
438 "description": "Policy XACML-PDP Memory Usage Monitoring",
442 "mode": "palette-classic"
446 "axisPlacement": "auto",
450 "gradientMode": "none",
456 "lineInterpolation": "linear",
462 "scaleDistribution": {
465 "showPoints": "auto",
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\"}"
501 "fixedColor": "text",
510 "options": "Tenured Gen - dev-policy-api-69f54f45cc-wq6xq"
516 "fixedColor": "dark-purple",
538 "displayMode": "table",
539 "placement": "bottom",
551 "type": "prometheus",
555 "expr": "100 * jvm_memory_bytes_used{area=\"heap\", job=\"xacml-pdp-metrics\"} / jvm_memory_bytes_max{area=\"heap\", job=\"xacml-pdp-metrics\"}",
558 "legendFormat": "Heap : {{ pod }}",
562 "title": "Memory Usage",
566 "description": "Policy XACML-PDP JVM Threads",
570 "mode": "palette-classic"
574 "axisPlacement": "auto",
578 "gradientMode": "none",
584 "lineInterpolation": "linear",
587 "scaleDistribution": {
590 "showPoints": "never",
632 "displayMode": "table",
633 "placement": "bottom"
640 "pluginVersion": "8.4.5",
644 "type": "prometheus",
648 "expr": "jvm_threads_current{job=\"xacml-pdp-metrics\"}",
650 "legendFormat": "Live Threads: {{ pod }}",
655 "type": "prometheus",
659 "expr": "jvm_threads_peak{job=\"xacml-pdp-metrics\"}",
662 "legendFormat": "Peak Threads: {{ pod }}",
667 "type": "prometheus",
671 "expr": "jvm_threads_daemon{job=\"xacml-pdp-metrics\"}",
674 "legendFormat": "Daemon Threads: {{ pod }}",
678 "title": "JVM threads",
691 "title": "Garbage Collection",
695 "description": "GC operations per second",
699 "mode": "palette-classic"
703 "axisPlacement": "auto",
707 "gradientMode": "none",
713 "lineInterpolation": "linear",
716 "scaleDistribution": {
719 "showPoints": "auto",
761 "displayMode": "table",
762 "placement": "bottom"
772 "type": "prometheus",
776 "expr": "rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[5m])",
778 "legendFormat": "{{ gc }} : {{ pod }}",
782 "title": "Collection",
786 "description": "Average GC Time",
790 "mode": "palette-classic"
794 "axisPlacement": "auto",
798 "gradientMode": "none",
804 "lineInterpolation": "linear",
807 "scaleDistribution": {
810 "showPoints": "auto",
849 "displayMode": "table",
850 "placement": "bottom"
860 "type": "prometheus",
864 "expr": "rate(jvm_gc_collection_seconds_sum{job=\"xacml-pdp-metrics\"}[5m])/rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[5m])",
866 "legendFormat": "avg {{ gc }} : {{ pod }}",
870 "title": "Pause Durations",
887 "description": "Policy Deployments Total for XACML-PDP",
891 "mode": "palette-classic"
919 "displayMode": "gradient",
920 "orientation": "auto",
930 "pluginVersion": "8.3.4",
934 "type": "prometheus",
938 "expr": "avg by(job)(pdpx_policy_deployments_total{job=\"xacml-pdp-metrics\", operation=\"deploy\", status=\"SUCCESS\"})",
940 "legendFormat": "{{ deploy }}",
945 "type": "prometheus",
949 "expr": "avg by(job)(pdpx_policy_deployments_total{job=\"xacml-pdp-metrics\", operation=\"deploy\", status=\"FAILURE\"})",
952 "legendFormat": "{{ deploy }}",
957 "type": "prometheus",
961 "expr": "avg by(job)(pdpx_policy_deployments_total{job=\"xacml-pdp-metrics\", operation=\"undeploy\", status=\"SUCCESS\"})",
964 "legendFormat": "{{ undeploy }}",
969 "type": "prometheus",
973 "expr": "avg by(job)(pdpx_policy_deployments_total{job=\"xacml-pdp-metrics\", operation=\"undeploy\", status=\"FAILURE\"})",
976 "legendFormat": "{{ undeploy }}",
980 "title": "Policy Deployments Total",
984 "description": "Policy Decisions Total for XACML-PDP per instance",
988 "mode": "palette-classic"
1016 "displayMode": "gradient",
1017 "orientation": "auto",
1025 "showUnfilled": true
1027 "pluginVersion": "8.3.4",
1031 "type": "prometheus",
1035 "expr": "pdpx_policy_decisions_total{job=\"xacml-pdp-metrics\"}",
1038 "legendFormat": "Deny",
1043 "type": "prometheus",
1047 "expr": "pdpx_policy_decisions_total{job=\"xacml-pdp-metrics\"}",
1050 "legendFormat": "Indeterminant",
1055 "type": "prometheus",
1059 "expr": "pdpx_policy_decisions_total{job=\"xacml-pdp-metrics\"}",
1062 "legendFormat": "Not Applicable",
1066 "title": "Policy Decisions",
1083 "description": "Policy number of log entries for XACML-PDP",
1087 "mode": "thresholds"
1114 "colorMode": "value",
1115 "graphMode": "area",
1116 "justifyMode": "auto",
1117 "orientation": "auto",
1127 "pluginVersion": "8.3.4",
1131 "type": "prometheus",
1135 "expr": "logback_appender_total{job=\"xacml-pdp-metrics\"}",
1137 "legendFormat": "Level",
1141 "title": "Logback Total",
1146 "schemaVersion": 34,
1158 "title": "Policy XACML-PDP",