diff --git a/instrumentation/kamon-akka/src/common/resources/reference.conf b/instrumentation/kamon-akka/src/common/resources/reference.conf index d93b9567c..7053df15c 100644 --- a/instrumentation/kamon-akka/src/common/resources/reference.conf +++ b/instrumentation/kamon-akka/src/common/resources/reference.conf @@ -118,7 +118,6 @@ kamon.instrumentation.akka { } cluster-sharding { - # Sets the interval at which the Shard metrics (sampling of hosted entities and processed messages across all # shards) will be sampled. shard-metrics-sample-interval = ${kamon.metric.tick-interval} @@ -130,6 +129,7 @@ kanela.modules { akka { name = "Akka Instrumentation" description = "Provides metrics and message tracing for Akka Actor Systems, Actors, Routers and Dispatchers" + enabled = yes instrumentations = [ "kamon.instrumentation.akka.instrumentations.EnvelopeInstrumentation", @@ -156,10 +156,10 @@ kanela.modules { akka-remote { name = "Akka Remote Instrumentation" description = "Provides distributed Context propagation and Cluster Metrics for Akka" + enabled = yes instrumentations = [ "kamon.instrumentation.akka.remote.MessageBufferInstrumentation", - "kamon.instrumentation.akka.remote.ShardingInstrumentation", "kamon.instrumentation.akka.instrumentations.akka_25.remote.RemotingInstrumentation" "kamon.instrumentation.akka.instrumentations.akka_26.remote.RemotingInstrumentation" ] @@ -173,4 +173,23 @@ kanela.modules { "akka.serialization..*" ] } + + akka-remote-sharding { + name = "Akka Remote Cluster Sharding Monitoring" + description = "Provides cluster sharding metrics for Akka" + enabled = yes + + instrumentations = [ + "kamon.instrumentation.akka.remote.ShardingInstrumentation" + ] + + within = [ + "akka.dispatch..*", + "akka.util..*", + "akka.remote..*", + "akka.actor..*" + "akka.cluster..*" + "akka.serialization..*" + ] + } } \ No newline at end of file