-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add AWSUniqueId and gcp_id generation in signalfxexporter #829
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
Add AWSUniqueId and gcp_id generation in signalfxexporter #829
Conversation
Codecov Report
@@ Coverage Diff @@
## master #829 +/- ##
==========================================
+ Coverage 88.11% 88.17% +0.05%
==========================================
Files 233 233
Lines 12429 12465 +36
==========================================
+ Hits 10952 10991 +39
+ Misses 1120 1117 -3
Partials 357 357
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
extraDimensions := make([]*sfxpb.Dimension, 0, len(nodeAttribs)+len(resourceAttribs)+1) | ||
|
||
extraDimensions = appendResourceAttributesToDimensions(extraDimensions, resourceAttribs) | ||
extraDimensions = appendAttributesToDimensions(extraDimensions, nodeAttribs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would be nice to have appendNodeAttributesToDimensions
for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or we can keep it as is since the function is generic itself. so up to you
These dimensions will be derived from the relevant resource attributes, if present. The resource attributes used to derive the values will be removed and thus not sent as dimensions.
Signed-off-by: Bogdan Drutu <[email protected]>
…ace/jaeger (#829) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: evantorrie <[email protected]> Co-authored-by: Liz Fong-Jones <[email protected]>
These dimensions will be derived from the relevant resource attributes, if present.
The resource attributes used to derive the values will be removed and thus
not sent as dimensions.