Skip to content

Conversation

@cstruck
Copy link

@cstruck cstruck commented Oct 23, 2025

Most dashboards already use variables to select the datasources. This is useful since not all deployed grafana instances always name their datasource uid prometheus or loki.

This PR enables setting the dashboards datasources and if uid: loki and/or uid:prometheus are not available will by default take one of the type for the datasource that exists, while retaining the old behavior by defaulting to loki and prometheus if they exist.

@cstruck cstruck force-pushed the make_dashboard_more_datasource_agnostic branch from e85904b to 34d06ac Compare October 23, 2025 11:36
@cstruck cstruck force-pushed the make_dashboard_more_datasource_agnostic branch from 34d06ac to 4ffdd78 Compare October 23, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant