Skip to content

Conversation

@AntoineThebaud
Copy link
Contributor

@AntoineThebaud AntoineThebaud commented Jan 23, 2026

Description

ClickHouse, Loki & Pyroscope datasources are currently not compatible with DatasourceVariable on the backend side (= dashboard save gets denied) and need the same fix as what was done here at the time for Prom & Tempo.

Originally this PR was only about refactoring as it follows perses/shared#46 - ⚠️ need this /shared change to be released first - so it also includes:

  • leverage the new definition #baseHTTPDatasourceSpec to avoid redefining the directUrl | proxy disjunction on plugin side everytime.
  • leverage the updated definition of #selector to avoid duplicating the var string | struct disjunction on plugins side.

Having all the datasources relying on the same, standard definitions should help in future to avoid "partial" fixes like what happened here.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

…on definitions

Signed-off-by: AntoineThebaud <antoine.thebaud@yahoo.fr>
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/cue-common-ds branch from ce741f8 to b301211 Compare January 24, 2026 00:06
@AntoineThebaud AntoineThebaud changed the title [IGNORE] datasource plugins: refactor CUE schemas to rely on new common definitions [BUGFIX] Queries referencing DatasourceVariable couldn't be saved for multiple datasources Jan 24, 2026
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.

2 participants