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

Signalfx exporter: fix calculation of network.total metric #2551

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Mar 4, 2021

memory.total was calculated based on "interface" dimension which is not ready at that point and created from "device" in the next step. It causes several duplicates of memory.total not aggregated by device/interface.

This PR fixes the problem

@dmitryax dmitryax requested a review from a team March 4, 2021 00:09
@codecov
Copy link

codecov bot commented Mar 4, 2021

Codecov Report

Merging #2551 (d2d4bfc) into main (f36771a) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2551      +/-   ##
==========================================
- Coverage   91.19%   91.18%   -0.01%     
==========================================
  Files         419      419              
  Lines       20983    20983              
==========================================
- Hits        19135    19134       -1     
- Misses       1381     1382       +1     
  Partials      467      467              
Flag Coverage Δ
integration 69.22% <ø> (ø)
unit 90.06% <ø> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
receiver/carbonreceiver/transport/tcp_server.go 66.00% <0.00%> (-1.00%) ⬇️

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 f36771a...d2d4bfc. Read the comment docs.

@dmitryax dmitryax force-pushed the sfxexporter-fix-network-total-metric branch 2 times, most recently from 7b48d4a to 2b2b3dd Compare March 4, 2021 00:29
memory.total was calculated based on "interface" dimension which is not ready at that point and created from "device" in the next step. It causes several duplicates of memory.total not aggregated by device/interface.

This commits fixes the problem
@dmitryax dmitryax force-pushed the sfxexporter-fix-network-total-metric branch from 2b2b3dd to d2d4bfc Compare March 4, 2021 00:57
@bogdandrutu bogdandrutu merged commit 2c48687 into open-telemetry:main Mar 4, 2021
This was referenced Mar 15, 2021
kisieland referenced this pull request in kisieland/opentelemetry-collector-contrib Mar 16, 2021
pmatyjasek-sumo referenced this pull request in pmatyjasek-sumo/opentelemetry-collector-contrib Apr 28, 2021
memory.total was calculated based on "interface" dimension which is not ready at that point and created from "device" in the next step. It causes several duplicates of memory.total not aggregated by device/interface.

This commits fixes the problem
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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants