grafana: fix datasource provisioning crash from renamed Prometheus datasource
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
# Declarative datasources
|
||||
provision.datasources.settings = {
|
||||
apiVersion = 1;
|
||||
# Remove old "Prometheus" datasource that was renamed to "Prometheus (monitoring01)"
|
||||
deleteDatasources = [
|
||||
{ name = "Prometheus"; orgId = 1; }
|
||||
];
|
||||
datasources = [
|
||||
{
|
||||
name = "VictoriaMetrics";
|
||||
|
||||
Reference in New Issue
Block a user