Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntervalVariable: Makes it return the original variable expression when data or request is not present #508

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented Dec 19, 2023

Fixes #507

I think instead of a fix like grafana/grafana#79645 we could change this macro to just return the variable expression when no data or request is found, this way this behavior is not changed for other data sources.

The variable interpolation engine behaves similarly, in that it returns the variable expression unchanged when a variable cannot be found

@torkelo torkelo added the release Create a release when this pr is merged label Dec 19, 2023
@torkelo torkelo merged commit 40e1b57 into main Dec 19, 2023
3 checks passed
@torkelo torkelo deleted the fix-interval-variable branch December 19, 2023 14:45
@grafanabot
Copy link
Contributor

🚀 PR was released in v1.28.3 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$__interval interpolated to empty string for Loki queries
3 participants