Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Make Counter render floats #2778

Merged
merged 1 commit into from
Jan 15, 2018
Merged

Make Counter render floats #2778

merged 1 commit into from
Jan 15, 2018

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 12, 2018

Prometheus handles all metrics as floats, and sometimes we store non-integer
values in them (notably, durations in seconds), so let's render them as floats
too.

(Note that the standard client libraries also treat Counters as floats.)

Prometheus handles all metrics as floats, and sometimes we store non-integer
values in them (notably, durations in seconds), so let's render them as floats
too.

(Note that the standard client libraries also treat Counters as floats.)
@richvdh richvdh merged commit 5e16c1d into develop Jan 15, 2018
@richvdh richvdh deleted the rav/counters_should_be_floats branch January 16, 2018 15:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants