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: set 0 for otel metrics during registration #1352

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

VinozzZ
Copy link
Contributor

@VinozzZ VinozzZ commented Sep 25, 2024

Which problem is this PR solving?

Honeycomb’s board template requires that columns be created before any queries can be added. However, in OpenTelemetry (OTel), metrics are not sent until they have a value, which caused an issue where customers missed queries on their Refinery boards during the initial setup of their instances.

This PR addresses the issue by setting a default value of 0 for all OTel metrics during the Register call. This ensures that OTel sends these metrics to Honeycomb immediately upon Refinery startup, preventing gaps in the board’s initial queries.

Short description of the changes

  • Set 0 for each OTel metrics during registration

@VinozzZ VinozzZ force-pushed the yingrong.otel_metrics_initialization branch from f53f8c5 to dd8efd7 Compare September 25, 2024 20:54
@VinozzZ VinozzZ marked this pull request as ready for review September 25, 2024 20:55
@VinozzZ VinozzZ requested a review from a team as a code owner September 25, 2024 20:55
@VinozzZ VinozzZ self-assigned this Sep 25, 2024
@VinozzZ VinozzZ merged commit ebc1aed into main Sep 26, 2024
5 checks passed
@VinozzZ VinozzZ deleted the yingrong.otel_metrics_initialization branch September 26, 2024 14:07
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.

2 participants