mirror of
https://github.com/grafana/grafana.git
synced 2026-06-10 09:01:30 -04:00
* Alerting: Reject imported configs with unsupported receiver fields Imported Prometheus/Mimir Alertmanager configs that use receiver fields Grafana cannot represent (e.g. the *_file / *_ref fields removed in grafana/alerting#573) were silently dropped during conversion. Validate now round-trips each receiver through the upstream<->definition conversion and rejects any field that does not survive, listing the offending receivers and their YAML field paths in the error's "extra" payload. Detection is generic, so it stays correct as upstream adds fields. * Alerting: Add integration test for unsupported receiver fields import Asserts POST /convert/api/v1/alerts rejects a config whose receiver uses a field Grafana cannot represent (auth_password_file), returns the YAML field path, and stores nothing. * improve test |
||
|---|---|---|
| .. | ||
| admin/encryption | ||
| alerting | ||
| annotations | ||
| azuremonitor | ||
| correlations | ||
| dashboards | ||
| datasources | ||
| folders | ||
| graphite | ||
| influxdb | ||
| loki | ||
| metrics | ||
| opentdsb | ||
| plugins | ||
| prometheus | ||
| publicdashboards | ||
| shorturl | ||
| stats | ||