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

log: Implement Value and KeyValue types #4949

Merged
merged 3 commits into from Feb 21, 2024

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Feb 20, 2024

Resolve #4914

@MrAlias MrAlias added area:logs Part of OpenTelemetry logs Skip Changelog PRs that do not require a CHANGELOG.md entry labels Feb 20, 2024
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (f793a05) 82.6% compared to head (f3202a4) 82.9%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #4949     +/-   ##
=======================================
+ Coverage   82.6%   82.9%   +0.2%     
=======================================
  Files        238     238             
  Lines      19038   19182    +144     
=======================================
+ Hits       15742   15903    +161     
+ Misses      3005    2987     -18     
- Partials     291     292      +1     
Files Coverage Δ
log/keyvalue.go 96.5% <96.5%> (+66.5%) ⬆️

... and 1 file with indirect coverage changes

@MrAlias MrAlias force-pushed the add-log-attr-impl branch 4 times, most recently from e2e6ea3 to 755c523 Compare February 20, 2024 21:31
Copy link
Member

@pellared pellared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

EDIT: All my comments should be addressed as separate issues/PRs.

log/keyvalue_test.go Show resolved Hide resolved
log/keyvalue_test.go Show resolved Hide resolved
log/keyvalue.go Show resolved Hide resolved
@pellared pellared changed the title Implement Value and KeyValue in types otel/log log: Implement Value and KeyValue in types otel/log` Feb 21, 2024
@pellared pellared changed the title log: Implement Value and KeyValue in types otel/log` log: Implement Value and KeyValue types Feb 21, 2024
log/go.mod Show resolved Hide resolved
This was referenced Feb 21, 2024
@MrAlias MrAlias merged commit 7b3382e into open-telemetry:main Feb 21, 2024
30 checks passed
@MrAlias MrAlias deleted the add-log-attr-impl branch February 21, 2024 21:20
@MrAlias MrAlias added this to the v1.24.0 milestone Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:logs Part of OpenTelemetry logs Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Implement the Value and KeyValue types
5 participants