Skip to content

[OTLP EXPORTERS] add otlp_common target for shared otlp utils - #4333

Open
dbarker wants to merge 2 commits into
open-telemetry:mainfrom
dbarker:cmake_otlp_common_target
Open

[OTLP EXPORTERS] add otlp_common target for shared otlp utils #4333
dbarker wants to merge 2 commits into
open-telemetry:mainfrom
dbarker:cmake_otlp_common_target

Conversation

@dbarker

@dbarker dbarker commented Aug 2, 2026

Copy link
Copy Markdown
Member

Contributes to #4239 and #4249

Adds an otlp_common target/library to hold the common utilities (just otlp_envornment.<h,cc> for now).

Changes

  • update cmake and bazel build scripts to create opentelemetry-cpp::otlp_common
  • update the docs to add the new target.
  • update the cmake install test to cover the new target.

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

@dbarker dbarker changed the title [CMAKE] add otlp_common target for shared otlp utils [OTLP EXPORTERS] add otlp_common target for shared otlp utils Aug 2, 2026
@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.87%. Comparing base (89729e1) to head (a1e4c21).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4333      +/-   ##
==========================================
+ Coverage   80.86%   80.87%   +0.02%     
==========================================
  Files         450      450              
  Lines       19216    19216              
==========================================
+ Hits        15537    15539       +2     
+ Misses       3679     3677       -2     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker
dbarker marked this pull request as ready for review August 2, 2026 20:40
@dbarker
dbarker requested a review from a team as a code owner August 2, 2026 20:40
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.

2 participants