VEGAS/monitoring: new datasource provisioning format
This commit is contained in:
parent
299f87a294
commit
49e1b408be
2 changed files with 5 additions and 7 deletions
|
@ -73,18 +73,17 @@ in
|
|||
};
|
||||
provision = {
|
||||
enable = true;
|
||||
datasources = [
|
||||
datasources.settings.datasources = [
|
||||
{
|
||||
name = "Prometheus";
|
||||
# wait for https://github.com/NixOS/nixpkgs/pull/175330
|
||||
# uid = "PBFA97CFB590B2093";
|
||||
uid = "PBFA97CFB590B2093";
|
||||
inherit (links.prometheus) url;
|
||||
type = "prometheus";
|
||||
isDefault = true;
|
||||
}
|
||||
{
|
||||
name = "Loki";
|
||||
# uid = "P8E80F9AEF21F6940";
|
||||
uid = "P8E80F9AEF21F6940";
|
||||
inherit (loki-ingest) url;
|
||||
type = "loki";
|
||||
}
|
||||
|
|
|
@ -91,11 +91,10 @@ in {
|
|||
PrivateTmp = true;
|
||||
};
|
||||
};
|
||||
services.grafana.provision.datasources = [
|
||||
services.grafana.provision.datasources.settings.datasources = [
|
||||
{
|
||||
name = "Tempo";
|
||||
# wait for https://github.com/NixOS/nixpkgs/pull/175330
|
||||
# uid = "P214B5B846CF3925F";
|
||||
uid = "P214B5B846CF3925F";
|
||||
inherit (links.tempo) url;
|
||||
type = "tempo";
|
||||
jsonData = {
|
||||
|
|
Loading…
Reference in a new issue