Skip to content

Conversation

@alzex3
Copy link

@alzex3 alzex3 commented Dec 18, 2025

This PR fixes namespace and cluster dashboard behavior when switching Prometheus datasources.

It standardizes datasource usage so the selected Datasource dropdown drives:

  • the namespace variable query (namespace list updates when datasource changes)
  • all panel/target Prometheus datasources (metrics switch to the selected datasource)
  • the Alert list panel datasource (now follows the selected datasource as well, where applicable)

Also removes legacy import-time datasource placeholders and hardcoded datasource UIDs that made runtime switching inconsistent.

Fixes: #16

@alzex3 alzex3 changed the title Make namespace dashboards follow selected Prometheus datasource Make dashboards follow selected Prometheus datasource Dec 18, 2025
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.

Datasource switching does not update variables/panels consistently

1 participant