mirror of
https://gitverse.ru/kpa39l/openspec-lab.git
synced 2026-09-29 09:15:01 +00:00
Archive fix-vinograd-dashboard-datasource: убрана ссылка на __grafana__ в annotations дашборда vinograd-wan (Datasource not found)
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
its `annotations.list` (it is not registered in this Grafana's database).
|
||||
- `annotations.list` MUST be empty (`[]`), matching the working
|
||||
`garage-cluster.json` dashboard.
|
||||
|
||||
#### 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.json` is parsed
|
||||
- **THEN** `annotations.list` is `[]` OR contains no item whose
|
||||
`datasource.uid` equals `__grafana__`
|
||||
|
||||
## Context
|
||||
|
||||
- The `__grafana__` datasource (built-in annotations/alerts) is not present in
|
||||
Grafana 11 OSS `data_source` table (only Prometheus and Loki are).
|
||||
- Panels reference `uid: Prometheus` and are unaffected.
|
||||
Reference in New Issue
Block a user