Skip to content

[CONFIGURATION/BUILD] Break up OTLP builder utils into gRPC and HTTP utils - #4533

Draft
dbarker wants to merge 1 commit into
open-telemetry:mainfrom
dbarker:config_fix_otlp_builder_utils_deps
Draft

[CONFIGURATION/BUILD] Break up OTLP builder utils into gRPC and HTTP utils#4533
dbarker wants to merge 1 commit into
open-telemetry:mainfrom
dbarker:config_fix_otlp_builder_utils_deps

Conversation

@dbarker

@dbarker dbarker commented Sep 7, 2026

Copy link
Copy Markdown
Member

Fixes # (issue)

The OTLP builder utils has a dependency on otlp_http.<h,cc> which are only built and installed when OTLP HTTP support is enabled.

Changes

  • break out the gRPC and HTTP specific utils from otlp_builder_utils.<h,cc> into specific grpc and http util files
  • update the CMake and Bazel build dependencies to only link builders to what they use.
  • test the utils with the install tests

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

@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.47%. Comparing base (731099b) to head (f0255dd).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4533   +/-   ##
=======================================
  Coverage   83.47%   83.47%           
=======================================
  Files         522      522           
  Lines       20447    20447           
=======================================
  Hits        17066    17066           
  Misses       3381     3381           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker
dbarker force-pushed the config_fix_otlp_builder_utils_deps branch from 159f864 to f0255dd Compare September 8, 2026 20:39
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.

1 participant