You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: instrumentation/kamon-system-metrics/src/main/scala/kamon/instrumentation/system/host/HostMetricsCollector.scala
+1
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,7 @@ class HostMetricsCollector(ec: ExecutionContext) extends ScheduledAction {
221
221
222
222
interfaces.asScala.foreach(interface => {
223
223
if (_settings.trackedInterfaces.accept(interface.getName)) {
0 commit comments