diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-08-28 13:02:09 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-08-28 13:02:09 +0200 |
commit | ec91eede73e20fef3b694fa45009ddd0ef0b345b (patch) | |
tree | b3aa59dfaa1da122072864b1b343a1ea9835a57b /kamon-core/src/test/scala/kamon/metric | |
parent | df3711e177b58ce752592736f0a327c920adb3f0 (diff) | |
download | Kamon-ec91eede73e20fef3b694fa45009ddd0ef0b345b.tar.gz Kamon-ec91eede73e20fef3b694fa45009ddd0ef0b345b.tar.bz2 Kamon-ec91eede73e20fef3b694fa45009ddd0ef0b345b.zip |
wip, core/akka/spray are kind of migrated.
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metric')
3 files changed, 0 insertions, 39 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/SimpleMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/SimpleMetricsSpec.scala index 0180e980..6d753888 100644 --- a/kamon-core/src/test/scala/kamon/metric/SimpleMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/SimpleMetricsSpec.scala @@ -16,21 +16,12 @@ package kamon.metric -import com.typesafe.config.ConfigFactory import kamon.Kamon import kamon.metric.instrument.Histogram.DynamicRange import kamon.testkit.BaseKamonSpec import scala.concurrent.duration._ class SimpleMetricsSpec extends BaseKamonSpec("simple-metrics-spec") { - override lazy val config = - ConfigFactory.parseString( - """ - |kamon.metric { - | tick-interval = 1 hour - | default-collection-context-buffer-size = 10 - |} - """.stripMargin) "the SimpleMetrics extension" should { diff --git a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala index ac35cf58..97bf0e2c 100644 --- a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala @@ -26,21 +26,6 @@ import scala.concurrent.duration._ import kamon.metric.SubscriptionsDispatcher.TickMetricSnapshot class TickMetricSnapshotBufferSpec extends BaseKamonSpec("trace-metrics-spec") with ImplicitSender { - override lazy val config = - ConfigFactory.parseString( - """ - |kamon.metric { - | tick-interval = 1 hour - | default-collection-context-buffer-size = 10 - | - | filters { - | trace { - | includes = [ "*" ] - | excludes = [ "non-tracked-trace" ] - | } - | } - |} - """.stripMargin) "the TickMetricSnapshotBuffer" should { "merge TickMetricSnapshots received until the flush timeout is reached and fix the from/to fields" in new SnapshotFixtures { diff --git a/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala index efdcb79b..3e3e2d8e 100644 --- a/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala @@ -23,21 +23,6 @@ import kamon.trace.Tracer import kamon.metric.instrument.Histogram class TraceMetricsSpec extends BaseKamonSpec("trace-metrics-spec") with ImplicitSender { - override lazy val config = - ConfigFactory.parseString( - """ - |kamon.metric { - | tick-interval = 1 hour - | default-collection-context-buffer-size = 10 - | - | filters { - | trace { - | includes = [ "*" ] - | excludes = [ "non-tracked-trace"] - | } - | } - |} - """.stripMargin) "the TraceMetrics" should { "record the elapsed time between a trace creation and finish" in { |