[ENHANCEMENT] Support curly braces ${} variable syntax in datasource selector shortcut - #242
Open
celian-garcia wants to merge 1 commit into
Open
[ENHANCEMENT] Support curly braces ${} variable syntax in datasource selector shortcut#242celian-garcia wants to merge 1 commit into
celian-garcia wants to merge 1 commit into
Conversation
…selector shortcut Signed-off-by: Celian GARCIA <celian.garcia@amadeus.com>
celian-garcia
force-pushed
the
celian-garcia/support-curly-braces-syntax
branch
from
August 20, 2026 15:28
944682b to
111d7ca
Compare
celian-garcia
marked this pull request as ready for review
August 21, 2026 09:53
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR allows
${myVar}and$myVarsyntax when we use variable in some fields.This is to align with the already supported syntax inside the queries:


Here are some examples of usage in the validation schemas:
minStepbeing either a duration or a variableI am also planning to use it in the Grafana to Perses migration of datasource with datasource variables. That would fix the migration in case it is defined with ${} syntax in Grafana source dashboard
Pending PR: https://github.com/perses/plugins/pull/775/changes
Screenshots
Checklist
[<catalog_entry>] <commit message>naming convention using one of thefollowing
catalog_entryvalues:FEATURE,ENHANCEMENT,BUGFIX,BREAKINGCHANGE,DOC,IGNORE.