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 HTTP Endpoint Usage #2493

Merged
merged 13 commits into from
Mar 2, 2022
Merged

Conversation

TylerHelmuth
Copy link
Member

@TylerHelmuth TylerHelmuth commented Feb 28, 2022

Description

This change updates the OTLP HTTP trace exporter to append v1/traces to the OTEL_EXPORTER_OTLP_ENDPOINT env var value if it is used.

Fixes #2443

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I tested this change by writing 2 new unit tests, and updating others.

Does This PR Require a Contrib Repo Change?

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added

@TylerHelmuth TylerHelmuth requested a review from a team February 28, 2022 21:47
@TylerHelmuth TylerHelmuth changed the title Fix OTLP HTTP Endpoint Usage - #2443 Fix OTLP HTTP Endpoint Usage Feb 28, 2022
@srikanthccv
Copy link
Member

@TylerHelmuth Please add CHANGELOG entry

@TylerHelmuth
Copy link
Member Author

@TylerHelmuth Please add CHANGELOG entry

CHANGELOG updated.

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
@lzchen
Copy link
Contributor

lzchen commented Mar 1, 2022

Technically this is a breaking change. However since it is fixing something that doesn't conform to the spec, I think it falls under "bug fix" which is the message we have told users.

@lzchen lzchen added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Mar 1, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
TylerHelmuth and others added 2 commits March 1, 2022 15:18
Co-authored-by: Leighton Chen <lechen@microsoft.com>
@lzchen lzchen merged commit 50093f2 into open-telemetry:main Mar 2, 2022
@TylerHelmuth TylerHelmuth deleted the issue-2443 branch March 2, 2022 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OTLP HTTP Exporter should append v1/{signal} to the endpoint URL when non-per-signal env var is used
3 participants