Skip to content

Conversation

@evan-bradley
Copy link
Contributor

@evan-bradley evan-bradley commented Feb 25, 2025

Description

Depends on #12481.

Note that I didn't add the tag to any fields where we set a default value. This is because the zero value is significant in these cases and omitting it from the output would cause it to be set to the default instead of the zero value. We could fix this with a custom interface implemented by our config structs, but that will have to be a separate effort, and simply using the omitempty tag is still an improvement for most fields.

Link to tracking issue

Works toward #12191

@evan-bradley evan-bradley requested a review from a team as a code owner February 25, 2025 16:16
@evan-bradley evan-bradley requested a review from atoulme February 25, 2025 16:17
@codecov
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.16%. Comparing base (216046a) to head (96903c4).
Report is 28 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12482   +/-   ##
=======================================
  Coverage   92.16%   92.16%           
=======================================
  Files         465      465           
  Lines       25201    25201           
=======================================
  Hits        23226    23226           
  Misses       1576     1576           
  Partials      399      399           

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

@mx-psi mx-psi added this pull request to the merge queue Mar 3, 2025
Merged via the queue into open-telemetry:main with commit a9bca17 Mar 3, 2025
54 checks passed
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.

3 participants