Skip to content

feat: Add export functionality to http common - #2447

Draft
thompson-tomo wants to merge 19 commits into
open-telemetry:mainfrom
thompson-tomo:export_traces_http
Draft

thompson-tomo wants to merge 19 commits into
open-telemetry:mainfrom
thompson-tomo:export_traces_http

Conversation

@thompson-tomo

@thompson-tomo thompson-tomo commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

Successor #2432

Changes

This implements a send bytes method on the http client added which was via #2432. This send method bundles up the entire sending process and only requires the encoded bytes to be passed as an argument, which means that a future pr will update the other http exporters to leverage the new method.

As part of this process, the tests were reviewed and where appropriate migrated to the common.

Coverage

Type Original Http after Commmon after Combined after
Line coverage 134 / 160 (83.75%) 45 / 46 (97.82%) 172 / 190 (90.52%) 217 / 236 (91.95%)
Branch coverage 37 / 66 (56.06%) 11 / 12 (91.66%) 46 / 72 (63.88%) 57 / 84 (67.85%)
Method coverage 13 / 14 (92.85%) 5 / 5 (100.00%) 12 / 13 (92.30%) 17 / 18 (94.44%)

As such these changes have lead to an improvement in coverage

Authorship

  • I, a human, wrote this pull request description myself.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

@github-actions github-actions Bot added the stale label Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant