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/metrics/dashboards/dashboard-pap.json | |
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/metrics/dashboards/dashboard-pap.json')
-rw-r--r-- | compose/metrics/dashboards/dashboard-pap.json | 18 |
1 files changed, 9 insertions, 9 deletions
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" |