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 | 12 |
1 files changed, 11 insertions, 1 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 714a1e6d..5f0c4a10 100644 --- a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala +++ b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala @@ -136,6 +136,14 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers with | highest-trackable-value = 3600000000000 | significant-value-digits = 2 | } + | rx-dropped { + | highest-trackable-value = 3600000000000 + | significant-value-digits = 2 + | } + | tx-dropped { + | highest-trackable-value = 3600000000000 + | significant-value-digits = 2 + | } | } | heap { | used { @@ -213,7 +221,7 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers with } "the Kamon Network Metrics" should { - "record rxBytes, txBytes, rxErrors, txErrors metrics" in new NetworkMetricsListenerFixture { + "record rxBytes, txBytes, rxErrors, txErrors, rxDropped, txDropped metrics" in new NetworkMetricsListenerFixture { val metricsListener = subscribeToMetrics() val NetworkMetrics = expectNetworkMetrics(metricsListener, 3 seconds) @@ -221,6 +229,8 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers with NetworkMetrics.txBytes.max should be >= 0L NetworkMetrics.rxErrors.max should be >= 0L NetworkMetrics.txErrors.max should be >= 0L + NetworkMetrics.rxDropped.max should be >= 0L + NetworkMetrics.txDropped.max should be >= 0L } } |