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

NETOBSERV-666: K8s decoration not adding namespace if empty #335

Merged
merged 1 commit into from
Nov 25, 2022
Merged

NETOBSERV-666: K8s decoration not adding namespace if empty #335

merged 1 commit into from
Nov 25, 2022

Conversation

mariomac
Copy link

@mariomac mariomac commented Nov 25, 2022

This caused that empty-string and nil namespaces were treated differently in some metrics aggregations:
image

Now there are no duplicities:
image

@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2022

Codecov Report

Merging #335 (5b72965) into main (1d6ef70) will increase coverage by 0.15%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #335      +/-   ##
==========================================
+ Coverage   69.12%   69.28%   +0.15%     
==========================================
  Files          86       86              
  Lines        4907     4909       +2     
==========================================
+ Hits         3392     3401       +9     
+ Misses       1303     1293      -10     
- Partials      212      215       +3     
Flag Coverage Δ
unittests 69.28% <0.00%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/pipeline/transform/transform_network.go 69.01% <0.00%> (+5.44%) ⬆️

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

Copy link
Collaborator

@jpinsonneau jpinsonneau left a comment

Choose a reason for hiding this comment

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

Should we also do this to all enriched fields ? 🤔
I don't think I saw that on other ones but it could be a safety belt for us

LGTM, thanks @mariomac

@mariomac mariomac merged commit 2e51626 into netobserv:main Nov 25, 2022
@mariomac mariomac deleted the fix-empty-ns branch November 25, 2022 13:31
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.

3 participants