Skip to content

feat: add opentelemetry-exporter-http-transport package#5194

Draft
herin049 wants to merge 1 commit intoopen-telemetry:mainfrom
herin049:feat/exporter-otlp-http
Draft

feat: add opentelemetry-exporter-http-transport package#5194
herin049 wants to merge 1 commit intoopen-telemetry:mainfrom
herin049:feat/exporter-otlp-http

Conversation

@herin049
Copy link
Copy Markdown
Contributor

Description

Adds a common opentelemetry-exporter-http-transport package that will be utilized by multiple HTTP exporter packages (initially OTLP JSON) to abstract away and generalize underlying HTTP transport implementations and exporting with OTLP. Introducing this package will significantly reduce the amount of code duplication present in HTTP exporters and will allow for the usage of alternative HTTP client libraries.

Fixes #3439, #4147, #1003, #2990

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

uv run tox -e py314-test-opentelemetry-exporter-http-transport

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

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.

Accept httpx.Client instead of requests.Session

1 participant