grafana / cortex-jsonnet

Deprecated: see https://github.com/grafana/mimir/tree/main/operations/mimir instead
Apache License 2.0
74 stars 53 forks source link

add ability to override datasource for dashboards #407

Closed aallawala closed 2 years ago

aallawala commented 2 years ago

What this PR does: This PR adds the ability to override the datasource used for dashboards via the _config.dashboard_datasource object.

We currently generate and import these dashboards as provisioned dashboards in Grafana and are unable to override the default datasource in the UI. The other alternative we have is to run a jq edit on top of the generated dashboards, but that's not ideal. Which issue(s) this PR fixes: Fixes #

Checklist

aallawala commented 2 years ago

Hi @pracucci, would you mind if we got your eyes on this please?