From e542aecea307579acf1e95ab6c55ce29ccb01ac5 Mon Sep 17 00:00:00 2001 From: Diego Date: Tue, 3 Feb 2015 10:39:57 -0300 Subject: = system-metrics: fix typo --- .../src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala | 4 ++-- .../src/main/scala/kamon/system/sigar/FileSystemMetrics.scala | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kamon-system-metrics/src/main/scala/kamon/system') 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 { -- cgit v1.2.3