mirror of
https://gitverse.ru/kpa39l/monitoring.git
synced 2026-09-29 09:55:09 +00:00
feat(gotosocial): Grafana dashboard GoToSocial (20 panels); fix dashboard provisioning provider overlap; openspec: gotosocial-monitoring
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
## 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 остаются).
|
||||
Reference in New Issue
Block a user