diff options
author | Diego <diegolparra@gmail.com> | 2015-01-30 01:17:07 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-01-30 01:17:07 -0300 |
commit | b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9 (patch) | |
tree | 2745ed6fa41e326c4f3a4f12c000d1310679a805 /kamon-system-metrics/src/main/scala/kamon | |
parent | e3ff68809b31dd673aefa5b605d70bd40bc2c1d9 (diff) | |
download | Kamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.tar.gz Kamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.tar.bz2 Kamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.zip |
= play: use our own dispatcher instead of Akka's default dispatcher and reduce verbosity of log in test
Diffstat (limited to 'kamon-system-metrics/src/main/scala/kamon')
-rw-r--r-- | kamon-system-metrics/src/main/scala/kamon/system/sigar/ProcessCpuMetrics.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-system-metrics/src/main/scala/kamon/system/sigar/ProcessCpuMetrics.scala b/kamon-system-metrics/src/main/scala/kamon/system/sigar/ProcessCpuMetrics.scala index 436fadda..73dcc6dc 100644 --- a/kamon-system-metrics/src/main/scala/kamon/system/sigar/ProcessCpuMetrics.scala +++ b/kamon-system-metrics/src/main/scala/kamon/system/sigar/ProcessCpuMetrics.scala @@ -36,7 +36,7 @@ class ProcessCpuMetrics(sigar: Sigar, instrumentFactory: InstrumentFactory) exte * while CPU usage time doesn't update. But supposing that it could be zero load for a process for some time, * We used an arbitrary duration of 2000 milliseconds, after which the same CPU usage time value become legal, and it is supposed that the load is really zero. * - * @see [[http://stackoverflow.com/questions/19323364/using-sigar-api-to-get-jvm-cpu-usage "Stack Overflow: Using Sigar API to get JVM Cpu usage"]] + * @see [[http://stackoverflow.com/questions/19323364/using-sigar-api-to-get-jvm-cpu-usage "StackOverflow: Using Sigar API to get JVM Cpu usage"]] */ def update(): Unit = { val currentProcCpu = sigar.getProcCpu(pid) |