mirror of
https://gitverse.ru/kpa39l/openspec-lab.git
synced 2026-09-29 09:15:01 +00:00
1.3 KiB
1.3 KiB
Spec delta: Fix Vinograd WAN dashboard annotations
ADDED Requirements
Requirement: Vinograd WAN dashboard opens without datasource errors
The Vinograd WAN dashboard (/d/vinograd-wan/vinograd-wan) MUST open and render
all panels WITHOUT the error "Datasource grafana was not found".
- The dashboard JSON MUST NOT reference the built-in
__grafana__datasource in itsannotations.list(it is not registered in this Grafana's database). annotations.listMUST be empty ([]), matching the workinggarage-cluster.jsondashboard.
Scenario: Dashboard renders without datasource error
- WHEN a user opens
https://grafana.nixg.ru/d/vinograd-wan/vinograd-wan - THEN the dashboard loads without the error "Datasource grafana was not found"
- AND all panels render metric data from Prometheus (
uid: Prometheus)
Scenario: Dashboard file stores no grafana reference
- WHEN the file
grafana/dashboards/vinograd-wan.jsonis parsed - THEN
annotations.listis[]OR contains no item whosedatasource.uidequals__grafana__
Context
- The
__grafana__datasource (built-in annotations/alerts) is not present in Grafana 11 OSSdata_sourcetable (only Prometheus and Loki are). - Panels reference
uid: Prometheusand are unaffected.