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

providers/prometheus: Add WithHistogramOpts for native histograms #584

Conversation

metalmatze
Copy link
Contributor

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Where exactly do I need to add the CHANGELOG?

Changes

We need to be able to set the NativeHistogramBucketFactor for example to enable native histograms. Therefore, the WithHistogramBuckets Option isn't flexible enough anymore. I've added the WithHistogramOpts option.

Verification

grpc-nativehistograms

We need to be able to set the NativeHistogramBucketFactor for example to enable native histograms.
Therefore, the `WithHistogramBuckets` Option isn't flexible enough anymore. I've added the `WithHistogramOpts` option.

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me!

@johanbrandhorst johanbrandhorst merged commit 32ae386 into grpc-ecosystem:main May 15, 2023
6 checks passed
@johanbrandhorst
Copy link
Collaborator

Thanks for your contribution!

@metalmatze metalmatze deleted the provider-prometheus-nativehistograms branch May 15, 2023 15:27
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.

None yet

2 participants