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:
@@ -60,3 +60,25 @@ The system MUST provide a Grafana dashboard "Vinograd WAN" with:
|
||||
- GIVEN Grafana has the Vinograd WAN dashboard provisioned
|
||||
- WHEN a user opens it
|
||||
- THEN it shows the RTT graph and availability of both channel addresses
|
||||
|
||||
### 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__`
|
||||
|
||||
Reference in New Issue
Block a user