You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should happen when a user passes Inf and NaN values to the API? Does it depend on which kind of instrument you're using?
Prometheus allows NaN values, but being "not a number" qualifies them, in my opinion, to be excluded. Infinite values are problematic for different reasons. Gauges might allow any of these, but Counters and Histograms can't work with either.
What are you trying to achieve?
What should happen when a user passes Inf and NaN values to the API? Does it depend on which kind of instrument you're using?
Prometheus allows NaN values, but being "not a number" qualifies them, in my opinion, to be excluded. Infinite values are problematic for different reasons. Gauges might allow any of these, but Counters and Histograms can't work with either.
Additional context.
#1933 (comment)
The text was updated successfully, but these errors were encountered: