Skip to content

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