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

(Port of #3363) Make sure we include end_value in generated Prometheus buckets #3405

Closed

Conversation

ndr-ds
Copy link
Contributor

@ndr-ds ndr-ds commented Feb 24, 2025

Motivation

Right now we're generating the buckets, but it's not in an inclusive way, and it should be. For latency metrics, for example, you have end_value being 500ms, but one of the buckets is 159. Since we're using a multiplication factor of 3, the next bucket would go over 500ms, so we don't include it...

Proposal

Make sure we always include the end_value bucket

Test Plan

CI + start a network locally and see the correct buckets exported

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

@ndr-ds ndr-ds requested a review from jvff February 24, 2025 17:21
…a-io#3363)

Right now we're generating the buckets, but it's not in an inclusive way, and it should be. For latency metrics, for example, you have `end_value` being 500ms, but one of the buckets is 159. Since we're using a multiplication factor of 3, the next bucket would go over 500ms, so we don't include it...

Make sure we always include the `end_value` bucket

CI + start a network locally and see the correct buckets exported

- Nothing to do / These changes follow the usual release cycle.
@ndr-ds ndr-ds force-pushed the port_of_3363_to_testnet branch from e59f5fd to 4f7255e Compare February 24, 2025 19:19
@ndr-ds ndr-ds closed this Feb 24, 2025
Copy link
Contributor Author

ndr-ds commented Feb 24, 2025

A lot of changes happened in this prometheus code that we didn't backport (mainly #2878). Backporting it would be a huge pain, so I'm just gonna change the buckets manually for now, and when we cut a new testnet we'll have the proper stuff in

Copy link
Contributor Author

ndr-ds commented Feb 24, 2025

#3406

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 this pull request may close these issues.

1 participant