summaryrefslogtreecommitdiffstats
path: root/roles/grafana/meta
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-06-22 18:04:40 +0200
committerAhmed Abdelhalim <[email protected]>2026-06-22 18:04:40 +0200
commit1a7d06d83d41b343a48c181cb47c4c9974a5626a (patch)
tree6df05c0a11d41a419d261bcd8a052de19172c2f6 /roles/grafana/meta
parentded892e34378c3675717384decebbf87e3f70039 (diff)
Refactor installing grafana dashboards using URL only
Refactor prometheus extra scraping jobs
Diffstat (limited to 'roles/grafana/meta')
-rw-r--r--roles/grafana/meta/argument_specs.yml14
1 files changed, 5 insertions, 9 deletions
diff --git a/roles/grafana/meta/argument_specs.yml b/roles/grafana/meta/argument_specs.yml
index 5a38b97d..c9d53bb1 100644
--- a/roles/grafana/meta/argument_specs.yml
+++ b/roles/grafana/meta/argument_specs.yml
@@ -53,23 +53,19 @@ argument_specs:
description: "FQDN for the grafana nginx vhost (e.g. 'monitor.home.arpa')."
default: "monitor.home.arpa"
grafana_dashboards:
- description: "List of community dashboards to download and provision"
+ description: "List of dashboards to download and provision"
type: "list"
elements: "dict"
default: []
options:
- id:
- description: "Grafana.com dashboard ID"
- type: "int"
- required: true
- revision:
- description: "Dashboard revision number"
- type: "int"
- required: true
name:
description: "Local name for the dashboard file"
type: "str"
required: true
+ url:
+ description: "URL to download the dashboard JSON from"
+ type: "str"
+ required: true
datasource_mappings:
description: "List of datasource variable mappings for the dashboard"
type: "list"