Open
Description
I'm super confused regarding float vs integer values. The Prometheus documentation itself recommends using the base unit seconds
for duration (i.e. not milliseconds
for example).
When recording duration histogram values in seconds I see very strange values in Prometheus, even though the data I log is quite sensible (i.e. request durations of 1.371114
seconds show up as 1e-09
in the metric http_client_total_duration_seconds_sum
).
Are floats even supported in prometheus_histogram
? The documentation says:
"Raises
{invalid_value, Value, Message}
ifValue
isn't an integer
Histograms seems to accept floats anyway, but I'm not sure it does the right thing with them.
Metadata
Metadata
Assignees
Labels
No labels