Skip to content

Fix OTLP HTTP Endpoint Usage#2493

Merged
lzchen merged 13 commits intoopen-telemetry:mainfrom
TylerHelmuth:issue-2443
Mar 2, 2022
Merged

Fix OTLP HTTP Endpoint Usage#2493
lzchen merged 13 commits intoopen-telemetry:mainfrom
TylerHelmuth:issue-2443

Conversation

@TylerHelmuth
Copy link
Copy Markdown
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
Copy Markdown
Member

@TylerHelmuth Please add CHANGELOG entry

@TylerHelmuth
Copy link
Copy Markdown
Member Author

@TylerHelmuth Please add CHANGELOG entry

CHANGELOG updated.

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
@lzchen
Copy link
Copy Markdown
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
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