You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# when using multiple clients, the extension will be alphabetical
# e.g. $a, $b, $c.
# so add exclude clauses as needed
kamon.instrumentation.akka.filters.actors.trace {
excludes += "*/user/RedisClient-$a/**"
excludes += "*/user/RedisClient-$a"
excludes += "*/user/RedisBlockingClient-$a/**"
excludes += "*/user/RedisBlockingClient-$a"
}
In the REPL, I can see those configs are not picked:
scala> kamon.Kamon.config().getConfig("kamon.instrumentation.akka.filters.actors.trace")
valres7: com.typesafe.config.Config=Config(SimpleConfigObject({"excludes":[],"includes":["*/user/**","*/system/sharding**"]}))
scala> kamon.Kamon.config().getConfig("kanela.modules.redis")
valres8: com.typesafe.config.Config=Config(SimpleConfigObject({"description":"Provides tracing for Jedis, Lettuce and Rediscala libraries","instrumentations":["kamon.instrumentation.jedis.JedisInstrumentation","kamon.instrumentation.lettuce.LettuceInstrumentation","kamon.instrumentation.rediscala.RediscalaInstrumentation"],"name":"Redis Instrumentation","within":["redis.clients.jedis.Protocol","io.lettuce.core..*","redis..*"]}))
I suspect this is due to some loading order of the reference.conf files, because adding the above configuration to my application.conf file fixes the problem...
The text was updated successfully, but these errors were encountered:
Hi!
I was trying the kamon-redis module with redisscala and everything is working fine, except a small detail regarding the traces:
Those
Tell
operations they are still present in the trace, although these traces are excluded in this codeKamon/instrumentation/kamon-redis/src/main/resources/reference.conf
Lines 21 to 29 in c6a32e7
In the REPL, I can see those configs are not picked:
I suspect this is due to some loading order of the reference.conf files, because adding the above configuration to my
application.conf
file fixes the problem...The text was updated successfully, but these errors were encountered: