Skip to content
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

Change units of histogram metrics from nanoseconds to seconds #520

Closed
joshua-spacetime opened this issue Nov 3, 2023 · 0 comments · Fixed by #522
Closed

Change units of histogram metrics from nanoseconds to seconds #520

joshua-spacetime opened this issue Nov 3, 2023 · 0 comments · Fixed by #522
Assignees

Comments

@joshua-spacetime
Copy link
Collaborator

The default Prometheus histogram buckets assume seconds represented as an f64.

@joshua-spacetime joshua-spacetime self-assigned this Nov 3, 2023
joshua-spacetime added a commit that referenced this issue Nov 3, 2023
The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.

Fixes #520.
joshua-spacetime added a commit that referenced this issue Nov 3, 2023
Fixes #520.

The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
joshua-spacetime added a commit that referenced this issue Nov 4, 2023
Fixes #520.

The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
joshua-spacetime added a commit that referenced this issue Nov 4, 2023
…522)

Fixes #520.

The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
kulakowski pushed a commit that referenced this issue Nov 7, 2023
…522)

Fixes #520.

The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
kulakowski pushed a commit that referenced this issue Nov 7, 2023
…522)

Fixes #520.

The default prometheus histogram buckets are meant to be interpreted as f64 seconds.
Because previously we were using nanosecond units,
all observations were being placed in the last (+inf) bucket.
This change was made to avoid modifying the default bucket specification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant