diff options
Diffstat (limited to 'kamon-system-metrics/src/main')
-rw-r--r-- | kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala | 4 | ||||
-rw-r--r-- | kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala b/kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala index 7a658a07..0f1cffca 100644 --- a/kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala +++ b/kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala @@ -32,8 +32,8 @@ import scala.concurrent.duration.FiniteDuration /** * Context Switches metrics: - * - perProcessVoluntary: Total number of voluntary context switches related to the current process (one thread explicitly yield the CPU to another). - * - perProcessNonVoluntary: Total number of involuntary context switches related to the current process (the system scheduler suspends and active thread, and switches control to a different thread). + * - process-voluntary: Total number of voluntary context switches related to the current process (one thread explicitly yield the CPU to another). + * - process-non-voluntary: Total number of involuntary context switches related to the current process (the system scheduler suspends and active thread, and switches control to a different thread). * - global: Total number of context switches across all CPUs. */ class ContextSwitchesMetrics(pid: Long, log: LoggingAdapter, instrumentFactory: InstrumentFactory) extends GenericEntityRecorder(instrumentFactory) { diff --git a/kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala b/kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala index eb327620..d3bfefbe 100644 --- a/kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala +++ b/kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala @@ -23,7 +23,7 @@ import scala.util.Try /** * Disk usage metrics, as reported by Sigar: - * - readBytes: Total number of physical disk bytes written. + * - readBytes: Total number of physical disk reads. * - writesBytes: Total number of physical disk writes. */ class FileSystemMetrics(sigar: Sigar, instrumentFactory: InstrumentFactory) extends GenericEntityRecorder(instrumentFactory) with SigarMetric { |