-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Invalid interval string, expecting a number followed by one of "Mwdhmsy" #10950
Comments
What dashboard are you using ? What is your data source config ? Make sure scrape interval includes time unit like 10s, same for step parameter in query |
Have tried 4 different dashboards with the same result: Prometheus, redis I screenshooted my configs so you could see them above in my post. I changed the scrape interval to 15s instead of 15 and that removed the error but I am still not receiving any data from the panels? If I go to prometheus I can see the data flowing but not in Grafana |
Thank you for your reply Jwen. I fixed it a couple of weeks ago with exactly the same problem as I had forgot the "s" tag at the end. Thank you anyway! Hope this post will help others in the future. |
@jwenz723 thanks ,the picture helped me. |
Very helpful. happened to me. Ideally there should be validation at the "Data source definition" window to avoid mis-direction |
tks,it works! |
Grafana v4.6.3
Prometheus 2.1.0 with node_exporter
Ubuntu 16.04
Installed Prometheus, node exporter, nginx & Grafana in that order, imported numerous dashboards to see if the data was received on Grafana but ended up receiving this error:
Invalid interval string, expecting a number followed by one of "Mwdhmsy" i</a.describe_interval@http://..........:3000/public/build/app.5331f559bd9a1bed9a93.js:1:3025 i</a.interval_to_ms@http://.......:3000/public/build/app.5331f559bd9a1bed9a93.js:1:3147 i</a.calculateInterval@http://.........:3000/public/build/app.5331f559bd9a1bed9a93.js:1:2704 g</e.prototype.calculateInterval@http://........:3000/public/build/0.be20b78823b4c9d93a84.js:7:17966 g</e.prototype.updateTimeRange@http://........:3000/public/build/0.be20b78823b4c9d93a84.js:7:17725 u@http://........:3000/public/build/vendor.2305a8e1d478628b1297.js:43:68722 c/<@http://.........:3000/public/build/vendor.2305a8e1d478628b1297.js:43:69127 $digest@http://............:3000/public/build/vendor.2305a8e1d478628b1297.js:43:74824 $apply@http://..........:3000/public/build/vendor.2305a8e1d478628b1297.js:43:76636 M/a<@...........:3000/public/build/vendor.2305a8e1d478628b1297.js:43:72695 i@http://.......3000/public/build/vendor.2305a8e1d478628b1297.js:43:21868 mt/c.defer/n<@http://........:3000/public/build/vendor.2305a8e1d478628b1297.js:43:23332 **
Image example: http://prntscr.com/ifvvob**
Prometheus.yml config: http://prntscr.com/ifvvj3
Data source: http://prntscr.com/ifvwe7
Have been trying to fix this issue for the past days and I've already looked on all the posts in github related to this error but haven't found any luck.
Does anyone know how to solve this?
Thanks
The text was updated successfully, but these errors were encountered: