diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-11-30 16:07:46 +0000 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2023-11-30 16:08:31 +0000 |
commit | dae767c98f1f15da96d543f029c846d95a5de76a (patch) | |
tree | 0f8bf9a9ce5a10aa30d3aeb54235d246ae1ba4bc /compose | |
parent | 5a933e9b61471e552e21dc1df3d220f7d8fa4156 (diff) |
Update SLAs dashboards metrics labels
Issue-ID: POLICY-4895
Change-Id: I56ce28f994579e996eed387db45f671ced8581a0
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose')
-rw-r--r-- | compose/metrics/dashboards/dashboard-api.json | 52 | ||||
-rw-r--r-- | compose/metrics/dashboards/dashboard-drools-apps.json (renamed from compose/metrics/dashboards/dashboard-drools-apps) | 0 | ||||
-rw-r--r-- | compose/metrics/dashboards/dashboard-for-springboot.json | 104 | ||||
-rw-r--r-- | compose/metrics/dashboards/dashboard-pap.json | 18 | ||||
-rw-r--r-- | compose/metrics/dashboards/sla-metrics.json | 18 |
5 files changed, 96 insertions, 96 deletions
diff --git a/compose/metrics/dashboards/dashboard-api.json b/compose/metrics/dashboards/dashboard-api.json index 8a31de80..8046cfe4 100644 --- a/compose/metrics/dashboards/dashboard-api.json +++ b/compose/metrics/dashboards/dashboard-api.json @@ -225,7 +225,7 @@ { "matcher": { "id": "byName", - "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\"}" + "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\"}" }, "properties": [ { @@ -281,7 +281,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum by(job)(jvm_memory_used_bytes{area=\"heap\", job=\"api-metrics\"}) / sum by(job)(jvm_memory_max_bytes{area=\"heap\", job=\"api-metrics\"})", + "expr": "100 * sum by(job)(jvm_memory_used_bytes{area=\"heap\",job=\"api-metrics\"}) / sum by(job)(jvm_memory_max_bytes{area=\"heap\",job=\"api-metrics\"})", "hide": false, "interval": "", "legendFormat": "Heap : {{pod}}", @@ -293,7 +293,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum by(job)(jvm_memory_used_bytes{area=\"nonheap\", job=\"api-metrics\"}) / sum by(job)(jvm_memory_max_bytes{area=\"nonheap\", job=\"api-metrics\"})", + "expr": "100 * sum by(job)(jvm_memory_used_bytes{area=\"nonheap\",job=\"api-metrics\"}) / sum by(job)(jvm_memory_max_bytes{area=\"nonheap\",job=\"api-metrics\"})", "hide": false, "interval": "", "legendFormat": "Non Heap : {{pod}}", @@ -525,7 +525,7 @@ { "matcher": { "id": "byName", - "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\"}" + "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\"}" }, "properties": [ { @@ -585,7 +585,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum(jvm_memory_used_bytes{area=\"heap\", job=\"api-metrics\"}) / sum(jvm_memory_max_bytes{area=\"heap\", job=\"api-metrics\"})", + "expr": "100 * sum(jvm_memory_used_bytes{area=\"heap\",job=\"api-metrics\"}) / sum(jvm_memory_max_bytes{area=\"heap\",job=\"api-metrics\"})", "hide": false, "interval": "", "legendFormat": "Heap", @@ -597,7 +597,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum(jvm_memory_used_bytes{area=\"nonheap\", job=\"api-metrics\"}) / sum(jvm_memory_max_bytes{area=\"nonheap\", job=\"api-metrics\"})", + "expr": "100 * sum(jvm_memory_used_bytes{area=\"nonheap\",job=\"api-metrics\"}) / sum(jvm_memory_max_bytes{area=\"nonheap\",job=\"api-metrics\"})", "hide": false, "interval": "", "legendFormat": "Non Heap", @@ -1012,7 +1012,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "avg by(method, uri) (rate(http_server_requests_seconds_count{job=\"api-metrics\"}[5m]))", + "expr": "avg by(method,uri) (rate(http_server_requests_seconds_count{job=\"api-metrics\"}[5m]))", "interval": "", "legendFormat": "{{ method }} - {{ uri }}", "refId": "A" @@ -1107,7 +1107,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum by (method, uri)(http_server_requests_seconds_sum{job=\"api-metrics\"})/sum by(method, uri)(http_server_requests_seconds_count{job=\"api-metrics\"})", + "expr": "sum by (method,uri)(http_server_requests_seconds_sum{job=\"api-metrics\"})/sum by(method,uri)(http_server_requests_seconds_count{job=\"api-metrics\"})", "interval": "", "legendFormat": "{{ method }} - {{ uri }}", "refId": "A" @@ -1170,7 +1170,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy - Total", @@ -1182,7 +1182,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy - Successful", @@ -1194,7 +1194,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy - Failed", @@ -1206,7 +1206,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",uri=~\"/metrics\"})", "interval": "", "legendFormat": "Delete Policy - Total", "refId": "D" @@ -1217,7 +1217,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Delete Policy - Successful", @@ -1229,7 +1229,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Delete Policy - Failed", @@ -1241,7 +1241,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy - Total", @@ -1253,7 +1253,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy - Successful", @@ -1265,7 +1265,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy - Failed", @@ -1330,7 +1330,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy Type - Total", @@ -1342,7 +1342,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy Type - Successful", @@ -1354,7 +1354,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"POST\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"POST\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Create Policy Type - Failed", @@ -1366,7 +1366,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",uri=~\"/metrics\"})", "interval": "", "legendFormat": "Delete Policy Type - Total", "refId": "D" @@ -1377,7 +1377,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Delete Policy Type - Successful", @@ -1389,7 +1389,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"DELETE\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"DELETE\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Delete Policy Type - Failed", @@ -1401,7 +1401,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy Type - Total", @@ -1413,7 +1413,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", outcome=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",outcome=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy Type - Successful", @@ -1425,7 +1425,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\", method=\"GET\", outcome!=\"SUCCESS\", uri=~\"/metrics\"})", + "expr": "sum(http_server_requests_seconds_count{job=\"api-metrics\",method=\"GET\",outcome!=\"SUCCESS\",uri=~\"/metrics\"})", "hide": false, "interval": "", "legendFormat": "Get Policy Type - Failed", diff --git a/compose/metrics/dashboards/dashboard-drools-apps b/compose/metrics/dashboards/dashboard-drools-apps.json index a8049274..a8049274 100644 --- a/compose/metrics/dashboards/dashboard-drools-apps +++ b/compose/metrics/dashboards/dashboard-drools-apps.json diff --git a/compose/metrics/dashboards/dashboard-for-springboot.json b/compose/metrics/dashboards/dashboard-for-springboot.json index b91aa04b..0eed3f7f 100644 --- a/compose/metrics/dashboards/dashboard-for-springboot.json +++ b/compose/metrics/dashboards/dashboard-for-springboot.json @@ -106,7 +106,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}", + "expr": "process_uptime_seconds{application=\"$application\",instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -182,7 +182,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000", + "expr": "process_start_time_seconds{application=\"$application\",instance=\"$instance\"}*1000", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -222,15 +222,15 @@ "mode": "absolute", "steps": [ { - "color": "rgba(50, 172, 45, 0.97)", + "color": "rgba(50,172,45,0.97)", "value": null }, { - "color": "rgba(237, 129, 40, 0.89)", + "color": "rgba(237,129,40,0.89)", "value": 70 }, { - "color": "rgba(245, 54, 54, 0.9)", + "color": "rgba(245,54,54,0.9)", "value": 90 } ] @@ -263,7 +263,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})", + "expr": "sum(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\",area=\"heap\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", @@ -312,15 +312,15 @@ "mode": "absolute", "steps": [ { - "color": "rgba(50, 172, 45, 0.97)", + "color": "rgba(50,172,45,0.97)", "value": null }, { - "color": "rgba(237, 129, 40, 0.89)", + "color": "rgba(237,129,40,0.89)", "value": 70 }, { - "color": "rgba(245, 54, 54, 0.9)", + "color": "rgba(245,54,54,0.9)", "value": 90 } ] @@ -353,7 +353,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})", + "expr": "sum(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\",area=\"nonheap\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "", @@ -417,14 +417,14 @@ "steppedLine": false, "targets": [ { - "expr": "system_cpu_usage{instance=\"$instance\", application=\"$application\"}", + "expr": "system_cpu_usage{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "System CPU Usage", "refId": "A" }, { - "expr": "process_cpu_usage{instance=\"$instance\", application=\"$application\"}", + "expr": "process_cpu_usage{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Process CPU Usage", @@ -514,14 +514,14 @@ "steppedLine": false, "targets": [ { - "expr": "system_load_average_1m{instance=\"$instance\", application=\"$application\"}", + "expr": "system_load_average_1m{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Load Average [1m]", "refId": "A" }, { - "expr": "system_cpu_count{instance=\"$instance\", application=\"$application\"}", + "expr": "system_cpu_count{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "CPU Core Size", @@ -636,7 +636,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\"}", + "expr": "http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -725,7 +725,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\"}", + "expr": "http_server_requests_seconds_sum{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -814,7 +814,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "http_server_requests_seconds_max{instance=\"$instance\", application=\"$application\"}", + "expr": "http_server_requests_seconds_max{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -923,21 +923,21 @@ "repeatDirection": "h", "targets": [ { - "expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", + "expr": "jvm_memory_used_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used", "refId": "C" }, { - "expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", + "expr": "jvm_memory_committed_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Commited", "refId": "A" }, { - "expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}", + "expr": "jvm_memory_max_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Max", @@ -1033,7 +1033,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_memory_used_bytes{instance=\"$instance\", id=\"CodeHeap 'non-nmethods'\"}", + "expr": "jvm_memory_used_bytes{instance=\"$instance\",id=\"CodeHeap 'non-nmethods'\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1046,7 +1046,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_memory_committed_bytes{instance=\"$instance\", id=\"CodeHeap 'non-nmethods'\"}", + "expr": "jvm_memory_committed_bytes{instance=\"$instance\",id=\"CodeHeap 'non-nmethods'\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1059,7 +1059,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_memory_max_bytes{instance=\"$instance\", id=\"CodeHeap 'non-nmethods'\"}", + "expr": "jvm_memory_max_bytes{instance=\"$instance\",id=\"CodeHeap 'non-nmethods'\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1242,7 +1242,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\", id=\"mapped\"}", + "expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\",id=\"mapped\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1255,7 +1255,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\", id=\"mapped\"}", + "expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\",id=\"mapped\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1543,14 +1543,14 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"direct\"}", + "expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\",application=\"$application\",id=\"direct\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used Bytes", "refId": "A" }, { - "expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\", application=\"$application\", id=\"direct\"}", + "expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\",application=\"$application\",id=\"direct\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Capacity Bytes", @@ -1670,7 +1670,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "jvm_threads_peak_threads{instance=\"$instance\", application=\"$application\"}", + "expr": "jvm_threads_peak_threads{instance=\"$instance\",application=\"$application\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1872,7 +1872,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "irate(jvm_gc_pause_seconds_sum{instance=\"$instance\", application=\"$application\"}[5m])", + "expr": "irate(jvm_gc_pause_seconds_sum{instance=\"$instance\",application=\"$application\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{action}} [{{cause}}]", @@ -1947,7 +1947,7 @@ "calcs": [ "lastNotNull" ], - "fields": "/^hikaricp_connections{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", pool=\"HikariPool-1\", version=\"local\"}$/", + "fields": "/^hikaricp_connections{app=\"orders\",app_kubernetes_io_instance=\"mushop\",app_kubernetes_io_name=\"orders\",instance=\"10.1.0.72:80\",job=\"kubernetes-pods\",kubernetes_namespace=\"mushop\",kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\",mockmode=\"false\",pod_template_hash=\"67bb8f45c8\",pool=\"HikariPool-1\",version=\"local\"}$/", "values": false }, "textMode": "auto" @@ -1960,7 +1960,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "hikaricp_connections{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2055,7 +2055,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "hikaricp_connections_active{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_active{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2068,7 +2068,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "hikaricp_connections_idle{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_idle{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2080,7 +2080,7 @@ "type": "prometheus", "uid": "dkSf71fnz" }, - "expr": "hikaricp_connections_pending{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_pending{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pending", @@ -2142,7 +2142,7 @@ "calcs": [ "lastNotNull" ], - "fields": "/^hikaricp_connections_timeout_total{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", pool=\"HikariPool-1\", version=\"local\"}$/", + "fields": "/^hikaricp_connections_timeout_total{app=\"orders\",app_kubernetes_io_instance=\"mushop\",app_kubernetes_io_name=\"orders\",instance=\"10.1.0.72:80\",job=\"kubernetes-pods\",kubernetes_namespace=\"mushop\",kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\",mockmode=\"false\",pod_template_hash=\"67bb8f45c8\",pool=\"HikariPool-1\",version=\"local\"}$/", "values": false }, "textMode": "auto" @@ -2155,7 +2155,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "hikaricp_connections_timeout_total{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_timeout_total{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2244,7 +2244,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "hikaricp_connections_creation_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_creation_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Creation Time", @@ -2332,7 +2332,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "hikaricp_connections_usage_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_usage_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Usage Time", @@ -2420,7 +2420,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "hikaricp_connections_acquire_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}", + "expr": "hikaricp_connections_acquire_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Acquire Time", @@ -2888,7 +2888,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", uri!~\".*actuator.*\"}[5m])", + "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\",uri!~\".*actuator.*\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -2981,7 +2981,7 @@ "pluginVersion": "8.3.4", "targets": [ { - "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])", + "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\",application=\"$application\",exception=\"None\",uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\",exception=\"None\",uri!~\".*actuator.*\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{method}} [{{status}}] - {{uri}}", @@ -3089,7 +3089,7 @@ "targets": [ { "alias": "", - "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"info\"}[5m])", + "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"info\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "info", @@ -3185,7 +3185,7 @@ "targets": [ { "alias": "", - "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"error\"}[5m])", + "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"error\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "error", @@ -3281,7 +3281,7 @@ "targets": [ { "alias": "", - "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"warn\"}[5m])", + "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"warn\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "warn", @@ -3377,7 +3377,7 @@ "targets": [ { "alias": "", - "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"debug\"}[5m])", + "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"debug\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "debug", @@ -3473,7 +3473,7 @@ "targets": [ { "alias": "", - "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"trace\"}[5m])", + "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"trace\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "trace", @@ -3501,7 +3501,7 @@ "type": "prometheus", "uid": "dkSf71fnz" }, - "definition": "label_values(jvm_classes_loaded_classes, instance)", + "definition": "label_values(jvm_classes_loaded_classes,instance)", "hide": 0, "includeAll": false, "label": "Instance", @@ -3509,7 +3509,7 @@ "name": "instance", "options": [], "query": { - "query": "label_values(jvm_classes_loaded_classes, instance)", + "query": "label_values(jvm_classes_loaded_classes,instance)", "refId": "Prometheus-instance-Variable-Query" }, "refresh": 1, @@ -3540,7 +3540,7 @@ "name": "application", "options": [], "query": { - "query": "label_values(jvm_classes_loaded{instance=\"$instance\"}, application)", + "query": "label_values(jvm_classes_loaded{instance=\"$instance\"},application)", "refId": "Prometheus-application-Variable-Query" }, "refresh": 1, @@ -3571,7 +3571,7 @@ "name": "hikaricp", "options": [], "query": { - "query": "label_values(hikaricp_connections{instance=\"$instance\", application=\"$application\"}, pool)", + "query": "label_values(hikaricp_connections{instance=\"$instance\",application=\"$application\"},pool)", "refId": "Prometheus-hikaricp-Variable-Query" }, "refresh": 1, @@ -3601,7 +3601,7 @@ "name": "memory_pool_heap", "options": [], "query": { - "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)", + "query": "label_values(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"heap\"},id)", "refId": "Prometheus-memory_pool_heap-Variable-Query" }, "refresh": 1, @@ -3631,7 +3631,7 @@ "name": "memory_pool_nonheap", "options": [], "query": { - "query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)", + "query": "label_values(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"nonheap\"},id)", "refId": "Prometheus-memory_pool_nonheap-Variable-Query" }, "refresh": 1, diff --git a/compose/metrics/dashboards/dashboard-pap.json b/compose/metrics/dashboards/dashboard-pap.json index 93f54256..275fe83c 100644 --- a/compose/metrics/dashboards/dashboard-pap.json +++ b/compose/metrics/dashboards/dashboard-pap.json @@ -226,7 +226,7 @@ { "matcher": { "id": "byName", - "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\"}" + "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\"}" }, "properties": [ { @@ -282,7 +282,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum by(pod)(jvm_memory_used_bytes{area=\"heap\", job=\"pap-metrics\"}) / sum by(pod)(jvm_memory_max_bytes{area=\"heap\", job=\"pap-metrics\"})", + "expr": "100 * sum by(pod)(jvm_memory_used_bytes{area=\"heap\",job=\"pap-metrics\"}) / sum by(pod)(jvm_memory_max_bytes{area=\"heap\",job=\"pap-metrics\"})", "hide": false, "interval": "", "legendFormat": "Heap : {{ pod }}", @@ -294,7 +294,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum by(pod)(jvm_memory_used_bytes{area=\"nonheap\", job=\"pap-metrics\"}) / sum by(pod)(jvm_memory_max_bytes{area=\"nonheap\", job=\"pap-metrics\"})", + "expr": "100 * sum by(pod)(jvm_memory_used_bytes{area=\"nonheap\",job=\"pap-metrics\"}) / sum by(pod)(jvm_memory_max_bytes{area=\"nonheap\",job=\"pap-metrics\"})", "hide": false, "interval": "", "legendFormat": "Non Heap : {{ pod }}", @@ -526,7 +526,7 @@ { "matcher": { "id": "byName", - "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\"}" + "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\"}" }, "properties": [ { @@ -586,7 +586,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum(jvm_memory_used_bytes{area=\"heap\", job=\"pap-metrics\"}) / sum(jvm_memory_max_bytes{area=\"heap\", job=\"pap-metrics\"})", + "expr": "100 * sum(jvm_memory_used_bytes{area=\"heap\",job=\"pap-metrics\"}) / sum(jvm_memory_max_bytes{area=\"heap\",job=\"pap-metrics\"})", "hide": false, "interval": "", "legendFormat": "Heap", @@ -598,7 +598,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "100 * sum(jvm_memory_used_bytes{area=\"nonheap\", job=\"pap-metrics\"}) / sum(jvm_memory_max_bytes{area=\"nonheap\", job=\"pap-metrics\"})", + "expr": "100 * sum(jvm_memory_used_bytes{area=\"nonheap\",job=\"pap-metrics\"}) / sum(jvm_memory_max_bytes{area=\"nonheap\",job=\"pap-metrics\"})", "hide": false, "interval": "", "legendFormat": "Non Heap", @@ -1014,7 +1014,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "avg by(method, uri) (rate(http_server_requests_seconds_count{job=\"pap-metrics\"}[5m]))", + "expr": "avg by(method,uri) (rate(http_server_requests_seconds_count{job=\"pap-metrics\"}[5m]))", "interval": "", "legendFormat": "{{ method }} - {{ uri }}", "refId": "A" @@ -1109,7 +1109,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum by (method, uri)(http_server_requests_seconds_sum{job=\"pap-metrics\"})/sum by(method, uri)(http_server_requests_seconds_count{job=\"pap-metrics\"})", + "expr": "sum by (method,uri)(http_server_requests_seconds_sum{job=\"pap-metrics\"})/sum by(method,uri)(http_server_requests_seconds_count{job=\"pap-metrics\"})", "interval": "", "legendFormat": "{{ method }} - {{ uri }}", "refId": "A" @@ -1173,7 +1173,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "sum by (method, uri)(http_server_requests_seconds_count{job=\"pap-metrics\", outcome=\"SUCCESS\"})/sum by(method, uri)(http_server_requests_seconds_count{job=\"pap-metrics\"})*100", + "expr": "sum by (method,uri)(http_server_requests_seconds_count{job=\"pap-metrics\",outcome=\"SUCCESS\"})/sum by(method,uri)(http_server_requests_seconds_count{job=\"pap-metrics\"})*100", "interval": "", "legendFormat": "{{ method }} - {{ uri }}", "refId": "A" diff --git a/compose/metrics/dashboards/sla-metrics.json b/compose/metrics/dashboards/sla-metrics.json index e94d91dc..5287b546 100644 --- a/compose/metrics/dashboards/sla-metrics.json +++ b/compose/metrics/dashboards/sla-metrics.json @@ -867,7 +867,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "irate(http_server_requests_seconds_sum{job=~\"api-metrics|acm-metrics|pap-metrics\", exception=\"None\", uri!~\".*metrics.*|.*prometheus.*\"}[5m]) / irate(http_server_requests_seconds_count{job=~\"api-metrics|acm-metrics|pap-metrics\", exception=\"None\", uri!~\".*metrics.*|.*prometheus.*\"}[5m])", + "expr": "irate(http_server_requests_seconds_sum{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[5m]) / irate(http_server_requests_seconds_count{job=~\"api-metrics|acm-metrics|pap-metrics\",outcome=\"SUCCESS\",uri!~\".*metrics.*|.*prometheus.*\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -960,7 +960,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "http_server_requests_seconds_max{job=~\"api-metrics|acm-metrics|pap-metrics\", uri!~\".*metrics.*|.*prometheus.*\"}", + "expr": "http_server_requests_seconds_max{job=~\"api-metrics|acm-metrics|pap-metrics\",uri!~\".*metrics.*|.*prometheus.*\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1034,7 +1034,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pap_policy_deployments_total{operation=\"deploy\", status=\"SUCCESS\"}", + "expr": "pap_policy_deployments_total{operation=\"deploy\",status=\"SUCCESS\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -1093,7 +1093,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pap_policy_deployments_total{operation=\"undeploy\", status=\"SUCCESS\"}", + "expr": "pap_policy_deployments_total{operation=\"undeploy\",status=\"SUCCESS\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -1152,7 +1152,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pap_policy_deployments_total{operation=\"deploy\", status=\"FAILURE\"}", + "expr": "pap_policy_deployments_total{operation=\"deploy\",status=\"FAILURE\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -1211,7 +1211,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pap_policy_deployments_total{operation=\"undeploy\", status=\"FAILURE\"}", + "expr": "pap_policy_deployments_total{operation=\"undeploy\",status=\"FAILURE\"}", "interval": "", "legendFormat": "", "refId": "A" @@ -1271,7 +1271,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\", status=\"SUCCESS\"}", + "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"SUCCESS\"}", "interval": "", "legendFormat": "Successful", "refId": "A" @@ -1282,7 +1282,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\", status=\"FAIL\"}", + "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"FAIL\"}", "hide": false, "interval": "", "legendFormat": "Failed", @@ -1294,7 +1294,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\", status=\"TOTAL\"}", + "expr": "pdpa_policy_executions_total{job=\"apex-pdp-metrics\",status=\"TOTAL\"}", "hide": false, "interval": "", "legendFormat": "Total", |