Files

36 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Why
В STATUS.md GoToSocial открыта задача «Мониторинг: пробросить :9464 (метрики
уже слушают), job в prometheus.yml, дашборд Grafana». Job `gotosocial`
(127.0.0.1:9464 → /metrics) и relabel `instance=bigbox:9464` уже добавлены
ранее и данные реально приходят в VictoriaMetrics
(`gotosocial_instance_total_users` отвечает с метками host/service/instance).
Осталось: дашборд Grafana для метрик GtS + provisioning-провайдер.
## What Changes
- Новый дашборд Grafana `grafana/dashboards/gotosocial/gotosocial.json`
(панели: доступность, instance-статистика, воркеры, HTTP, SQL, процесс).
- Новая папка Grafana `gotosocial` + провайдер в
`grafana/provisioning/dashboards/dashboards.yml`.
- Автоимпорт дашборда через provisioning (~30с).
- Обновление STATUS.md (задача закрывается).
## Capabilities
### New Capabilities
- `gotosocial-monitoring`: дашборд Grafana с метриками GtS
(instance users/statuses, workers, HTTP, SQL, Go-runtime).
### Modified Capabilities
- `vesti-alerts`, `grafana-access-control`, `vinograd-wan-monitoring`:
не затрагиваются.
## Impact
- `/opt/monitoring/grafana/dashboards/gotosocial/gotosocial.json` — новый.
- `/opt/monitoring/grafana/provisioning/dashboards/dashboards.yml` — +1 провайдер.
- Grafana provisioning автоматически импортирует файл (~30с).
- Никаких изменений в docker-compose/prometheus.yml — job уже есть.
- Откат: удалить файл дашборда и блок провайдера из dashboards.yml
(Grafana удалит визуализацию, данные в VM остаются).