aboutsummaryrefslogtreecommitdiff
path: root/kamon-system-metrics
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2015-02-03 10:39:57 -0300
committerDiego <diegolparra@gmail.com>2015-02-03 10:39:57 -0300
commite542aecea307579acf1e95ab6c55ce29ccb01ac5 (patch)
tree0adb9d17497941310f12d09d675fefd0f36d490a /kamon-system-metrics
parenta9a7e5aad1b286c38b1b7bd84891d1923be53707 (diff)
downloadKamon-e542aecea307579acf1e95ab6c55ce29ccb01ac5.tar.gz
Kamon-e542aecea307579acf1e95ab6c55ce29ccb01ac5.tar.bz2
Kamon-e542aecea307579acf1e95ab6c55ce29ccb01ac5.zip
= system-metrics: fix typo
Diffstat (limited to 'kamon-system-metrics')
-rw-r--r--kamon-system-metrics/src/main/scala/kamon/system/custom/ContextSwitchesMetrics.scala4
-rw-r--r--kamon-system-metrics/src/main/scala/kamon/system/sigar/FileSystemMetrics.scala2
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 {