-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Scraper fails on prometheus NaN metrics #23287
Comments
No feedback? This would impact anyone scraping prometheus metrics produced by a recent prometheus library? |
influxdb don't support NaN by design. |
...and that exactly is the problem when using Influx to scrape prometheus. It seems though, that prometheus has reverted the change for enabling NaNs. |
Steps to reproduce:
NaN
valuesExpected behavior:
No errors
Actual behavior:
Log file:
At this point, no metric is collected.
It seems this behaviour has recently been introduced with the prometheus golang library in 1.12.1: prometheus/client_golang#981. According to spec (see that issue),
NaN
is a value.A previous issue for
Inf
values was fixed in #10490.Environment info:
InfluxDB 2.0.9
Server: d1233b7
Frontend: 9c89e22
May be related to #4089
The text was updated successfully, but these errors were encountered: