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
parse error at char 88: missing unit character in duration #1
Comments
Hi! That's unfortunate. If you use Grafana version lower than |
I’m running the latest nightly build of 5.5 |
Hm, I see
https://github.com/grafana/grafana/blob/master/CHANGELOG.md#bug-fixes This might be related.. Once I find the time I'll try the nightly build and see what we can do. |
I tried with |
I am using prometheus 2.70. Worth noting; I'm also using thanos |
So this happens with datasource set to Prometheus directly or to the Thanos query? But mainly could you please try catching the query in the web console of your browser? |
"api/datasources/proxy/5/api/v1/query_range?query=changes(process_start_time_seconds%7B%20instance%3D~%22ukasprom01%5C%5C.allocate-cloud%5C%5C.co%5C%5C.uk%22%7D%5B%24__interval%5D)%20%3E%200&start=1548897820&end=1548941040&step=20" angular.js:12759 GET https://xxxxxxxxxxxxxxxx/api/datasources/proxy/5/api/v1/query_r…2%7D%5B%24__interval%5D)%20%3E%200&start=1548897820&end=1548941040&step=20 400 |
Ok, so Grafana does not expand the I finally managed to reproduce it with the |
Ok, so it looks like I built this on a bug :) I'll fix this asap |
good job @FUSAKLA - seems to be working perfect now :) |
Glad to hear, sorry for the inconvenience :) I uploaded new revision to grafana.com so should be fixt even there. |
I get this exact issue on grafana-6.2.5-1.x86_64 from the official repos... If I configure an alert, the same error occurs. If I replace the $__interval with a value (say 30s), then the alert works properly. |
Hi @CRCinAU, sorry for the late reply. Could you post what exact error do you get? Or prtscr or something? This is possible that grafana really does not support. Maybe worth to add a feature request to Grafana to add support of templating variables in alerts? |
I'm using
This happens for all alert queries where I try to use |
Are there any news on this? I'm getting the same error with |
Hi, sorry about the late reply, I somehow missed the notifications 😖 Ok so I'm tempted to drop usage of the Would that be an acceptable fix for you? |
Hi,
When I set the Restarts toggle, I receive lots of these errors:
parse error at char 88: missing unit character in duration
Could you please help me out? :)
The text was updated successfully, but these errors were encountered: