diff options
Diffstat (limited to 'kamon-system-metrics/src/test/scala/kamon/metrics')
-rw-r--r-- | kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala index cda820fc..461fd493 100644 --- a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala +++ b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala @@ -205,12 +205,12 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers { } "the Kamon Process CPU Metrics" should { - "record user, system metrics" in new ProcessCPUMetricsListenerFixture { + "record Cpu Percent, Total ProcessbTime metrics" in new ProcessCPUMetricsListenerFixture { val metricsListener = subscribeToMetrics() val ProcessCPUMetrics = expectProcessCPUMetrics(metricsListener, 3 seconds) - ProcessCPUMetrics.user.max should be > 0L - ProcessCPUMetrics.system.max should be > 0L + ProcessCPUMetrics.cpuPercent.max should be > 0L + ProcessCPUMetrics.totalProcessTime.max should be > 0L } } |