diff options
Diffstat (limited to 'kamon-statsd/src/main/scala')
-rw-r--r-- | kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala b/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala index 472824e9..8b7b86db 100644 --- a/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala +++ b/kamon-statsd/src/main/scala/kamon/statsd/StatsD.scala @@ -23,6 +23,7 @@ import scala.concurrent.duration._ import scala.collection.JavaConverters._ import com.typesafe.config.Config import java.lang.management.ManagementFactory +import akka.event.Logging object StatsD extends ExtensionId[StatsDExtension] with ExtensionIdProvider { override def lookup(): ExtensionId[_ <: Extension] = StatsD @@ -34,6 +35,9 @@ object StatsD extends ExtensionId[StatsDExtension] with ExtensionIdProvider { } class StatsDExtension(system: ExtendedActorSystem) extends Kamon.Extension { + val log = Logging(system, classOf[StatsDExtension]) + log.info("Starting the Kamon(StatsD) extension") + private val statsDConfig = system.settings.config.getConfig("kamon.statsd") val hostname = statsDConfig.getString("hostname") |