diff options
author | Diego <diegolparra@gmail.com> | 2014-12-21 14:05:44 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-12-24 18:58:12 -0300 |
commit | 5635149af76a85b167ca6f6ad45767bc45da31ba (patch) | |
tree | 650e0bae447016fa74f3e7681f1f61bea60b3cc1 /kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala | |
parent | 8e62230ad7250b522997dc910aa46de5ce99768a (diff) | |
download | Kamon-5635149af76a85b167ca6f6ad45767bc45da31ba.tar.gz Kamon-5635149af76a85b167ca6f6ad45767bc45da31ba.tar.bz2 Kamon-5635149af76a85b167ca6f6ad45767bc45da31ba.zip |
+ core: introduce simplified version of GlobPathFilter and resolve exact actor metric filter issue
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala b/kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala index ed55ab06..88802d52 100644 --- a/kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala +++ b/kamon-core/src/main/scala/kamon/metric/MetricsExtension.scala @@ -88,8 +88,8 @@ class MetricsExtension(system: ExtendedActorSystem) extends Kamon.Extension { val key = entry.getKey val keyBasedConfig = entry.getValue.atKey(key) - val includes = keyBasedConfig.getStringList(s"$key.includes").asScala.map(inc ⇒ new GlobPathFilter(inc)).toList - val excludes = keyBasedConfig.getStringList(s"$key.excludes").asScala.map(exc ⇒ new GlobPathFilter(exc)).toList + val includes = keyBasedConfig.getStringList(s"$key.includes").asScala.map(inc ⇒ GlobPathFilter(inc)).toList + val excludes = keyBasedConfig.getStringList(s"$key.excludes").asScala.map(exc ⇒ GlobPathFilter(exc)).toList (key, MetricGroupFilter(includes, excludes)) } |