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

Truncate and de-duplicate log attribute values #5230

Merged
merged 7 commits into from Apr 29, 2024

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Apr 18, 2024

Resolve #5217
Resolve #5218
Resolve #5086

@MrAlias MrAlias added pkg:SDK Related to an SDK package area:logs Part of OpenTelemetry logs Skip Changelog PRs that do not require a CHANGELOG.md entry labels Apr 18, 2024
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.4%. Comparing base (9794825) to head (9143c4a).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5230   +/-   ##
=====================================
  Coverage   84.4%   84.4%           
=====================================
  Files        265     265           
  Lines      17480   17522   +42     
=====================================
+ Hits       14756   14796   +40     
- Misses      2413    2415    +2     
  Partials     311     311           
Files Coverage Δ
sdk/log/record.go 100.0% <100.0%> (ø)

... and 1 file with indirect coverage changes

@MrAlias MrAlias force-pushed the limit-log-record-vals branch 2 times, most recently from 52d7f5b to 44177d8 Compare April 18, 2024 21:22
@MrAlias
Copy link
Contributor Author

MrAlias commented Apr 18, 2024

We need a way to set the attribute value length limit for a record outside of the sdk/log package: https://github.com/open-telemetry/opentelemetry-go/actions/runs/8744863434/job/23998658786?pr=5230

i.e. #5192

@MrAlias MrAlias merged commit 1e357c7 into open-telemetry:main Apr 29, 2024
27 checks passed
@MrAlias MrAlias deleted the limit-log-record-vals branch April 29, 2024 14:51
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Apr 29, 2024
MrAlias added a commit to MrAlias/opentelemetry-go that referenced this pull request Apr 29, 2024
MrAlias added a commit that referenced this pull request Apr 30, 2024
@MrAlias MrAlias added this to the v1.27.0 milestone May 1, 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 pkg:SDK Related to an SDK package Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
Status: Done
3 participants