Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otelzap: Implement methods on objectEncoder #5595

Merged
merged 8 commits into from
May 17, 2024

Conversation

khushijain21
Copy link
Contributor

Part of #5191

Pre-work #5279

This PR implements AddBinary AddByteString and AddBool method on objectEncoder

P.S will some more methods be accepted in this PR?

@khushijain21 khushijain21 requested review from pellared and a team as code owners May 16, 2024 11:35
@khushijain21 khushijain21 changed the title otelzap: Implement methods on Object Encoder otelzap: Implement methods on objectEncoder May 16, 2024
bridges/otelzap/core_test.go Outdated Show resolved Hide resolved
bridges/otelzap/core_test.go Outdated Show resolved Hide resolved
bridges/otelzap/core_test.go Outdated Show resolved Hide resolved
bridges/otelzap/encoder.go Show resolved Hide resolved
@pellared
Copy link
Member

P.S will some more methods be accepted in this PR?

Yes. But I suggest implementing just the simple methods and leaving the complex ones for separate PRs.

@pellared pellared added the Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG label May 16, 2024
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.1%. Comparing base (2ea2299) to head (4b1974c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #5595     +/-   ##
=======================================
+ Coverage   63.0%   63.1%   +0.1%     
=======================================
  Files        194     194             
  Lines      11949   11956      +7     
=======================================
+ Hits        7534    7556     +22     
+ Misses      4198    4183     -15     
  Partials     217     217             
Files Coverage Δ
bridges/otelzap/encoder.go 56.4% <100.0%> (+56.4%) ⬆️

@pellared pellared requested a review from dmathieu May 17, 2024 07:21
@pellared pellared merged commit 6d343e9 into open-telemetry:main May 17, 2024
23 checks passed
zailic pushed a commit to zailic/opentelemetry-go-contrib that referenced this pull request May 20, 2024
Part of open-telemetry#5191
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants