diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-06 12:36:50 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-04-06 12:36:50 +0200 |
commit | 06b8d56259a101be5cfd8fbddaf1c3282c77051d (patch) | |
tree | 2659950977168615031718a3b5ea246113b57714 /kamon-core/src | |
parent | 1329961963114642bb20bd9cf108713771f94bfc (diff) | |
download | Kamon-06b8d56259a101be5cfd8fbddaf1c3282c77051d.tar.gz Kamon-06b8d56259a101be5cfd8fbddaf1c3282c77051d.tar.bz2 Kamon-06b8d56259a101be5cfd8fbddaf1c3282c77051d.zip |
! core: subscribe permanently to metrics data by default.
Diffstat (limited to 'kamon-core/src')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/Metrics.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/Metrics.scala b/kamon-core/src/main/scala/kamon/metric/Metrics.scala index 11166127..9fd9e771 100644 --- a/kamon-core/src/main/scala/kamon/metric/Metrics.scala +++ b/kamon-core/src/main/scala/kamon/metric/Metrics.scala @@ -211,13 +211,13 @@ trait Metrics { def find(entity: Entity): Option[EntityRecorder] def subscribe(filter: SubscriptionFilter, subscriber: ActorRef): Unit = - subscribe(filter, subscriber, permanently = false) + subscribe(filter, subscriber, permanently = true) def subscribe(category: String, selection: String, subscriber: ActorRef, permanently: Boolean): Unit = subscribe(SubscriptionFilter(category, selection), subscriber, permanently) def subscribe(category: String, selection: String, subscriber: ActorRef): Unit = - subscribe(SubscriptionFilter(category, selection), subscriber, permanently = false) + subscribe(SubscriptionFilter(category, selection), subscriber, permanently = true) def subscribe(filter: SubscriptionFilter, subscriber: ActorRef, permanently: Boolean): Unit |