aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorartem-trof <artem-trof@yandex-team.com>2023-07-20 16:00:43 +0300
committerartem-trof <artem-trof@yandex-team.com>2023-07-20 16:00:43 +0300
commitadfb3c405860b466182de80d8b88036f8218452f (patch)
tree0fb49f1f0869d8f97a0af28e15e1303a73e7992e
parentcb49856f9541f9089e06bbd91524ba418919037d (diff)
downloadydb-adfb3c405860b466182de80d8b88036f8218452f.tar.gz
PR from branch users/artem-trof/-ingress-settings
Обновил название метрики для healthcheck и добавил ingress для protmetheus/grafana
-rw-r--r--ydb/deploy/helm/ydb-prometheus/dashboards/dboverview.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/ydb/deploy/helm/ydb-prometheus/dashboards/dboverview.json b/ydb/deploy/helm/ydb-prometheus/dashboards/dboverview.json
index bb9c777c8e3..413909b620c 100644
--- a/ydb/deploy/helm/ydb-prometheus/dashboards/dboverview.json
+++ b/ydb/deploy/helm/ydb-prometheus/dashboards/dboverview.json
@@ -124,7 +124,7 @@
"uid": "$ds"
},
"editorMode": "code",
- "expr": "count(HC_Root{counter=\"healthcheck\"}) by (MESSAGE, STATUS, DATABASE)",
+ "expr": "count(ydb_healthcheck{counter=\"healthcheck\"}) by (MESSAGE, STATUS, DOMAIN, DATABASE)",
"legendFormat": "{{STATUS}} at {{ DATABASE }} ({{MESSAGE}})",
"range": true,
"refId": "A"
@@ -216,8 +216,8 @@
"uid": "prometheus"
},
"editorMode": "code",
- "expr": "count(HC_Root{DATABASE=\"$database\", counter=\"healthcheck-dynamic\"}) by (MESSAGE,STATUS,TYPE)",
- "legendFormat": "{{STATUS}} at {{ DATABASE }} ({{MESSAGE}})",
+ "expr": "count(ydb_healthcheck{DATABASE=\"$database\", counter=\"healthcheck-dynamic\"}) by (MESSAGE,STATUS,TYPE)",
+ "legendFormat": "{{STATUS}} ({{MESSAGE}})",
"range": true,
"refId": "A"
}