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

Enforce naming conventions for Invalid[Trace|Span]ID #5969

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

bogdandrutu
Copy link
Member

See the rules here https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#naming-convention

Also this changes Invalid -> Empty to match the "IsEmpty" func.

Signed-off-by: Bogdan [email protected]

@bogdandrutu bogdandrutu requested review from a team and Aneurysm9 August 25, 2022 21:56
@codecov
Copy link

codecov bot commented Aug 25, 2022

Codecov Report

Merging #5969 (6d6ea16) into main (7545a29) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #5969      +/-   ##
==========================================
- Coverage   92.30%   92.27%   -0.04%     
==========================================
  Files         212      212              
  Lines       13263    13263              
==========================================
- Hits        12243    12239       -4     
- Misses        803      807       +4     
  Partials      217      217              
Impacted Files Coverage Δ
pdata/pcommon/spanid.go 83.33% <0.00%> (-16.67%) ⬇️
pdata/pcommon/traceid.go 83.33% <0.00%> (-16.67%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

LGTM, just one nit

pdata/pcommon/traceid.go Outdated Show resolved Hide resolved
@bogdandrutu bogdandrutu merged commit 40cd9ba into open-telemetry:main Aug 25, 2022
@bogdandrutu bogdandrutu deleted the invalidid branch August 25, 2022 23:19
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.

2 participants