thelastpickle / tlp-cluster

tlp-cluster, a tool for launching Cassandra clusters in AWS
http://thelastpickle.com/tlp-cluster/
Other
21 stars 11 forks source link

Grafana dashboards: Parameterize data source in addPanel calls #130

Closed nickbp closed 5 years ago

nickbp commented 5 years ago

Was testing this out with a source of prometheus (lowercase). The charts began seeing data after swapping out the hardcoded Prometheuses with the preexisting PROMETHEUS_DS variable.

nickbp commented 5 years ago

Uses the PROMETHEUS_DS declared at L21.

It's currently used for addTemplate calls at L30/39/etc, but the addPanel calls weren't using it yet.

arodrime commented 5 years ago

Uses the PROMETHEUS_DS declared at L21. It's currently used for addTemplate calls at L30/39/etc, but the addPanel calls weren't using it yet.

Good call. I'll try this work right now and +1 if it does.