diff --git a/docs/config/monitor.en.md b/docs/config/monitor.en.md index d3ff0367..8b9cb101 100644 --- a/docs/config/monitor.en.md +++ b/docs/config/monitor.en.md @@ -59,6 +59,8 @@ Enable built-in Prometheus metrics exporter at mon_http_port (8060 by default). Note that only the active (master) monitor exposes metrics, others return HTTP 503. So you should add all monitor URLs to your Prometheus job configuration. +Grafana dashboard suitable for this exporter is here: [Vitastor-Grafana-6+.json](../../mon/scripts/Vitastor-Grafana-6+.json). + ## mon_http_port - Type: integer diff --git a/docs/config/monitor.ru.md b/docs/config/monitor.ru.md index 17279d31..f077f00d 100644 --- a/docs/config/monitor.ru.md +++ b/docs/config/monitor.ru.md @@ -60,6 +60,8 @@ node_id, cluster, cluster_key, persist_filter, stale_read также можно возвращают статус HTTP 503, поэтому вам следует добавлять адреса всех мониторов в задание по сбору метрик Prometheus. +Дашборд для Grafana, подходящий для этого экспортера: [Vitastor-Grafana-6+.json](../../mon/scripts/Vitastor-Grafana-6+.json). + ## mon_http_port - Тип: целое число diff --git a/docs/config/src/monitor.yml b/docs/config/src/monitor.yml index 8d3711bd..41b32848 100644 --- a/docs/config/src/monitor.yml +++ b/docs/config/src/monitor.yml @@ -47,12 +47,16 @@ Note that only the active (master) monitor exposes metrics, others return HTTP 503. So you should add all monitor URLs to your Prometheus job configuration. + + Grafana dashboard suitable for this exporter is here: [Vitastor-Grafana-6+.json](../../mon/scripts/Vitastor-Grafana-6+.json). info_ru: | Включить встроенный Prometheus-экспортер метрик на порту mon_http_port (по умолчанию 8060). Обратите внимание, что метрики выставляет только активный (главный) монитор, остальные возвращают статус HTTP 503, поэтому вам следует добавлять адреса всех мониторов в задание по сбору метрик Prometheus. + + Дашборд для Grafana, подходящий для этого экспортера: [Vitastor-Grafana-6+.json](../../mon/scripts/Vitastor-Grafana-6+.json). - name: mon_http_port type: int default: 8060