-
Notifications
You must be signed in to change notification settings - Fork 298
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
$__range #752
Comments
I don't believe this is currently supported. One workaround might be to manually enter a range like |
Yeah to echo John's point we currently do not have a direct equivalent. The current workaround would be to enter a manual static time range (though it will not change to match the time picker selection). There are also some potential alternatives mentioned here, but it appear that the user in the thread was not able to get them working. |
Thanks for the quick response. I will use |
No public repo, but I've passed the feedback along to the internal team responsible for promQL support. |
The Prometheus/Grafana
$__range
builtin variable doesn't seem to be supported.My converted Grafana dashboard result in the use of in something like:
sum(increase(metric[$__range]))
This won't give any data as
$__range
is not understood. I don't want the${__interval}
as I want to sum over the entire selected time range in the dashboard.Can I manually correct this or is this simply not possible in GKE using PromQL
The text was updated successfully, but these errors were encountered: