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

Fix reporting of network activity on Linux #1165

Merged
merged 1 commit into from
May 12, 2022

Conversation

jypma
Copy link
Contributor

@jypma jypma commented May 10, 2022

The current Kamon release doesn't seem to report network activity on
Linux, in docker or outside. This may be related with the
"updateAttributes()" method in OSHI not being invoked.

A local experiment confirmed that OSHI will indeed report an unchanging
value for e.g. getBytesRecv(), unless updateAttributes() is invoked
first.

Hence, this should probably get things working again.

The current Kamon release doesn't seem to report network activity on
Linux, in docker or outside. This may be related with the
"updateAttributes()" method in OSHI not being invoked.

A local experiment confirmed that OSHI will indeed report an unchanging
value for e.g. `getBytesRecv()`, unless `updateAttributes()` is invoked
first.

Hence, this should probably get things working again.
@ivantopo ivantopo merged commit a8b24d8 into kamon-io:master May 12, 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.

2 participants