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: otlp json encoding #156

Merged
merged 1 commit into from
Aug 22, 2024
Merged

fix: otlp json encoding #156

merged 1 commit into from
Aug 22, 2024

Conversation

gdaszuta
Copy link
Contributor

Regression introduced in commit bd0a46a after api change in open-telemetry/opentelemetry-js#4220

Fixes # [insert GH issue number(s)].

What this PR solves / how to test:

Update of opentelemetry api replaced boolean parameter useHex with options object. Without this object, it defaults to parameters { useHex: false, useLongBits: true } which cannot be ingested by otel collector.

Tested manually by comparing data sent to local instance.

Regression introduced in commit evanderkoogh@bd0a46a after api change in open-telemetry/opentelemetry-js#4220
Copy link
Owner

@evanderkoogh evanderkoogh left a comment

Choose a reason for hiding this comment

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

Thanks! I was about to jump into this to debug it. Thanks!

@evanderkoogh evanderkoogh merged commit 9a20713 into evanderkoogh:main Aug 22, 2024
1 check passed
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