Skip to content

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

Merged
merged 1 commit into from
Aug 31, 2020
Merged

Add AWSUniqueId and gcp_id generation in signalfxexporter #829

merged 1 commit into from
Aug 31, 2020

Conversation

keitwb
Copy link
Contributor

@keitwb keitwb commented Aug 26, 2020

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.

@keitwb keitwb requested a review from a team August 26, 2020 18:34
@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #829 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            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              
Flag Coverage Δ
#integration 72.00% <ø> (ø)
#unit 87.99% <100.00%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
exporter/signalfxexporter/translation/converter.go 99.54% <100.00%> (+0.08%) ⬆️
receiver/prometheusexecreceiver/receiver.go 85.29% <0.00%> (+2.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 134548a...263f601. Read the comment docs.

@jrcamp jrcamp self-assigned this Aug 26, 2020
extraDimensions := make([]*sfxpb.Dimension, 0, len(nodeAttribs)+len(resourceAttribs)+1)

extraDimensions = appendResourceAttributesToDimensions(extraDimensions, resourceAttribs)
extraDimensions = appendAttributesToDimensions(extraDimensions, nodeAttribs)
Copy link
Member

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

Copy link
Member

@dmitryax dmitryax Aug 27, 2020

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.
@bogdandrutu bogdandrutu merged commit 7dee175 into open-telemetry:master Aug 31, 2020
@bogdandrutu bogdandrutu deleted the cloud-dims-signalfx branch August 31, 2020 20:47
@dmitryax dmitryax mentioned this pull request Sep 14, 2020
dyladan referenced this pull request in dynatrace-oss-contrib/opentelemetry-collector-contrib Jan 29, 2021
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
…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]>
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.

5 participants