diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-04-06 02:28:45 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-04-06 02:28:45 -0300 |
commit | 58b5438784219878880252e0b13be9a7ed7c74c0 (patch) | |
tree | d048a9c89e4b9efcb29dc4a3e9a93a631eda7ab1 /kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala | |
parent | f7affbc379c26c8e92ece02256038a781c5d9d52 (diff) | |
download | Kamon-58b5438784219878880252e0b13be9a7ed7c74c0.tar.gz Kamon-58b5438784219878880252e0b13be9a7ed7c74c0.tar.bz2 Kamon-58b5438784219878880252e0b13be9a7ed7c74c0.zip |
! core: add the notion of instrument types to metric snapshots
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala')
-rw-r--r-- | kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala b/kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala index 33200e2d..d0a0c707 100644 --- a/kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala +++ b/kamon-core/src/test/scala/kamon/metrics/TickMetricSnapshotBufferSpec.scala @@ -70,10 +70,10 @@ class TickMetricSnapshotBufferSpec extends TestKit(ActorSystem("tick-metric-snap val thirdEmpty = TickMetricSnapshot(3000, 4000, Map.empty) val firstNonEmpty = TickMetricSnapshot(1000, 2000, - Map((CustomMetric("test-metric") -> SimpleGroupSnapshot(Map(CustomMetric.RecordedValues -> MetricSnapshot(20, Scale.Unit, Vector(Measurement(1, 10), Measurement(10, 10)))))))) + Map((CustomMetric("test-metric") -> SimpleGroupSnapshot(Map(CustomMetric.RecordedValues -> MetricSnapshot(InstrumentTypes.Histogram, 20, Scale.Unit, Vector(Measurement(1, 10), Measurement(10, 10)))))))) val secondNonEmpty = TickMetricSnapshot(1000, 2000, - Map((CustomMetric("test-metric") -> SimpleGroupSnapshot(Map(CustomMetric.RecordedValues -> MetricSnapshot(15, Scale.Unit, Vector(Measurement(4, 9), Measurement(10, 6)))))))) + Map((CustomMetric("test-metric") -> SimpleGroupSnapshot(Map(CustomMetric.RecordedValues -> MetricSnapshot(InstrumentTypes.Histogram, 15, Scale.Unit, Vector(Measurement(4, 9), Measurement(10, 6)))))))) } |