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

(logs exporter) Use a copy of shared log labels to prevent interference between LogRecords #573

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

damemi
Copy link
Member

@damemi damemi commented Jan 18, 2023

Fixes #572

Reproduced the original issue by adding a unique attribute to an entry in the test fixtures (saw that attribute copied to every output entry). Code changes fixed this, and fixtures work as expected now.

@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Merging #573 (695b3e2) into main (8b0cedb) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #573      +/-   ##
==========================================
- Coverage   64.18%   64.09%   -0.10%     
==========================================
  Files          38       38              
  Lines        4219     4225       +6     
==========================================
  Hits         2708     2708              
- Misses       1398     1404       +6     
  Partials      113      113              
Impacted Files Coverage Δ
exporter/collector/logs.go 41.23% <0.00%> (-0.82%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@damemi
Copy link
Member Author

damemi commented Jan 18, 2023

bypassing codecov, these lines are tested by fixtures

@damemi damemi merged commit 3e654c0 into GoogleCloudPlatform:main Jan 18, 2023
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.

GCL exporter: Multi-log payloads duplicate labels
2 participants