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

sfxexporter: Add initial list of non-default metrics #2145

Conversation

asuresh4
Copy link
Member

@asuresh4 asuresh4 commented Jan 20, 2021

Description: Always drop certain non-default metrics. To begin with I've added a list of non-default host metrics. Will add remaining metrics in separate PRs. Also, I'll be opening a subsequent PR to add ability to override this default behavior to allow users to optionally send in these dropped metrics (done in #2146).

Testing: Added tests.

@asuresh4 asuresh4 requested a review from a team as a code owner January 20, 2021 02:27
@project-bot project-bot bot added this to In progress in Collector Jan 20, 2021
@asuresh4 asuresh4 force-pushed the sfxexporter-drop-non-default-metrics branch from b1308c3 to 9dbb9fc Compare January 20, 2021 02:37
Always drop certain non-default metrics. A subsequent PR will be opened
to add ability to override this behavior.
@asuresh4 asuresh4 force-pushed the sfxexporter-drop-non-default-metrics branch from 9dbb9fc to c97a9f1 Compare January 20, 2021 02:37
@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #2145 (c97a9f1) into master (52ceaac) will decrease coverage by 0.01%.
The diff coverage is 68.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2145      +/-   ##
==========================================
- Coverage   90.38%   90.37%   -0.02%     
==========================================
  Files         396      396              
  Lines       19465    19484      +19     
==========================================
+ Hits        17593    17608      +15     
- Misses       1408     1410       +2     
- Partials      464      466       +2     
Flag Coverage Δ
integration 69.73% <ø> (ø)
unit 89.15% <68.42%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
exporter/signalfxexporter/factory.go 82.75% <68.42%> (-2.81%) ⬇️
receiver/carbonreceiver/transport/tcp_server.go 66.00% <0.00%> (-1.00%) ⬇️
processor/groupbytraceprocessor/event.go 96.80% <0.00%> (+0.79%) ⬆️
receiver/k8sclusterreceiver/watcher.go 97.64% <0.00%> (+2.35%) ⬆️

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 52ceaac...c97a9f1. Read the comment docs.

Collector automation moved this from In progress to Reviewer approved Jan 20, 2021
@bogdandrutu bogdandrutu merged commit 6bf5f19 into open-telemetry:master Jan 20, 2021
Collector automation moved this from Reviewer approved to Done Jan 20, 2021
@asuresh4 asuresh4 deleted the sfxexporter-drop-non-default-metrics branch January 20, 2021 18:00
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Collector
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants