Skip to content

Custom histogram metric buckets #456

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

Merged
merged 2 commits into from
Apr 17, 2025
Merged

Conversation

cretz
Copy link
Member

@cretz cretz commented Apr 16, 2025

What was changed

Added property on OpenTelemetryOptions and PrometheusOptions for HistogramBucketOverrides, and added the Rust side and test.

Checklist

  1. Closes [Feature Request] Custom metric bucket sizes #416

@cretz cretz requested a review from a team April 16, 2025 22:20
Comment on lines -183 to +187
prometheus = scope.Pointer(
new Interop.PrometheusOptions()
{
bind_address = scope.ByteArray(options.Prometheus.BindAddress),
});
prometheus = scope.Pointer(options.Prometheus.ToInteropOptions(scope));
Copy link
Member Author

Choose a reason for hiding this comment

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

This shows that nobody was using advanced Prometheus options beyond just the address since we weren't converting properly anyways

@cretz cretz merged commit 464b895 into temporalio:main Apr 17, 2025
9 checks passed
@cretz cretz deleted the histogram-bucket-custom branch April 17, 2025 20:21
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.

[Feature Request] Custom metric bucket sizes
2 participants