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

Change OTLP HTTP content_type default to binary #2558

Conversation

owent
Copy link
Member

@owent owent commented Feb 27, 2024

Fixes #2485

Changes

  • Change OTLP HTTP content_type default to binary

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@owent owent requested a review from a team February 27, 2024 12:17
Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

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

LGTM.

Thanks for the full fix, including environment variables.

Copy link
Member

@esigo esigo left a comment

Choose a reason for hiding this comment

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

LGTM
thank for the PR

Comment on lines +18 to +21
else
{
return HttpRequestContentType::kBinary;
}
Copy link
Member

Choose a reason for hiding this comment

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

nit

Suggested change
else
{
return HttpRequestContentType::kBinary;
}
return HttpRequestContentType::kBinary;

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the changes.

@ThomsonTan ThomsonTan merged commit a883dc7 into open-telemetry:main Feb 27, 2024
47 checks passed
lalitb added a commit that referenced this pull request Feb 27, 2024
malkia added a commit to malkia/opentelemetry-cpp that referenced this pull request Feb 27, 2024
Change OTLP HTTP content_type default to binary (open-telemetry#2558)
lalitb added a commit that referenced this pull request Feb 27, 2024
ThomsonTan added a commit to ThomsonTan/opentelemetry-cpp that referenced this pull request Feb 27, 2024
malkia added a commit to malkia/opentelemetry-cpp that referenced this pull request Feb 28, 2024
Reapply "Change OTLP HTTP content_type default to binary (open-telemetry#2558)" (#2
@owent owent deleted the change_otlp_http_content_type_default_to_binary branch March 5, 2024 11:27
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.

[EXPORTER] Change OTLP HTTP content_type default to binary
5 participants