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

Fix issue with unconfigured metric meter #202

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

cretz
Copy link
Member

@cretz cretz commented Mar 7, 2024

What was changed

It was a bug today that if you used a runtime metric meter but had never configured one, you'd get a scary segfault. This fixes that to set a no-op meter.

Checklist

  1. Closes [Feature Request] Confirm absense of metric config still results in no-op metric meter #135

@cretz cretz requested a review from a team March 7, 2024 14:28
Copy link
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

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

Makes sense.

@cretz cretz merged commit 666ab45 into temporalio:main Mar 7, 2024
6 checks passed
@cretz cretz deleted the no-op-meter branch March 7, 2024 21:37
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] Confirm absense of metric config still results in no-op metric meter
3 participants