Skip to content

feat: Decouple prost from otlp json#3451

Draft
jay-dee7 wants to merge 3 commits intoopen-telemetry:mainfrom
o11y-one:decouple-prost-from-otlp-json
Draft

feat: Decouple prost from otlp json#3451
jay-dee7 wants to merge 3 commits intoopen-telemetry:mainfrom
o11y-one:decouple-prost-from-otlp-json

Conversation

@jay-dee7
Copy link
Copy Markdown

@jay-dee7 jay-dee7 commented Apr 4, 2026

Fixes #3419
Design discussion issue (if applicable) #

Changes

Once prost has generated the stubs, we process them to include conditional cfg-attr blocks so that OTLP/JSON-only implementation doesn't pull-in prost, properly respecting the defined cargo feature-set.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

jay-dee7 added 2 commits April 4, 2026 23:40
Signed-off-by: jay-dee7 <me@jsdp.dev>
Signed-off-by: jay-dee7 <me@jsdp.dev>
@jay-dee7 jay-dee7 requested a review from a team as a code owner April 4, 2026 18:16
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Apr 4, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.2%. Comparing base (67e7dff) to head (032b343).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3451   +/-   ##
=====================================
  Coverage   83.2%   83.2%           
=====================================
  Files        128     128           
  Lines      25048   25048           
=====================================
+ Hits       20859   20860    +1     
+ Misses      4189    4188    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@jay-dee7 jay-dee7 marked this pull request as draft April 4, 2026 18:24
@jay-dee7 jay-dee7 force-pushed the decouple-prost-from-otlp-json branch from 0178656 to 032b343 Compare April 4, 2026 18:45
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.

[Feature]: Decouple prost from OTLP/JSON

1 participant