diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-05 03:41:25 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-05 03:41:25 +0100 |
commit | ec5f7ff67197194ec3bef1d95f1d12695c5186ec (patch) | |
tree | 45341ca311b0d4a31bdbcf0761c6d837d5d8e213 /kamon-statsd | |
parent | 107425cacf0d3299f3c88a8178d41328bc43106d (diff) | |
download | Kamon-ec5f7ff67197194ec3bef1d95f1d12695c5186ec.tar.gz Kamon-ec5f7ff67197194ec3bef1d95f1d12695c5186ec.tar.bz2 Kamon-ec5f7ff67197194ec3bef1d95f1d12695c5186ec.zip |
= core,datadog,statsd: migrate from plain Long to MilliTimestamp.
Diffstat (limited to 'kamon-statsd')
-rw-r--r-- | kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala b/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala index 5d37bb75..608b5c58 100644 --- a/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala +++ b/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala @@ -18,7 +18,7 @@ package kamon.statsd import akka.testkit.{ TestKitBase, TestProbe } import akka.actor.{ ActorRef, Props, ActorSystem } -import kamon.Kamon +import kamon.{MilliTimestamp, Kamon} import kamon.metric.instrument.Histogram.Precision import kamon.metric.instrument.Histogram import org.scalatest.{ Matchers, WordSpecLike } @@ -177,7 +177,7 @@ class StatsDMetricSenderSpec extends TestKitBase with WordSpecLike with Matchers (testMetricIdentity, snapshot) } - metricsSender ! TickMetricSnapshot(0, 0, Map(testGroupIdentity -> new MetricGroupSnapshot { + metricsSender ! TickMetricSnapshot(new MilliTimestamp(0), new MilliTimestamp(0), Map(testGroupIdentity -> new MetricGroupSnapshot { type GroupSnapshotType = Histogram.Snapshot def merge(that: GroupSnapshotType, context: CollectionContext): GroupSnapshotType = ??? |