-
Notifications
You must be signed in to change notification settings - Fork 32
Project setup
Lev Khomich edited this page Jul 22, 2016
·
8 revisions
libraryDependencies += "com.github.levkhomich" %% "akka-tracing-play" % "0.5.1"
libraryDependencies += "com.github.levkhomich" %% "akka-tracing-http" % "0.5.1"
libraryDependencies += "com.github.levkhomich" %% "akka-tracing-spray" % "0.5.1"
libraryDependencies += "com.github.levkhomich" %% "akka-tracing-core" % "0.5.1"
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies += "com.github.levkhomich" %% "akka-tracing-core" % "0.6-SNAPSHOT" changing()
Or, using maven:
<dependency>
<groupId>com.github.levkhomich</groupId>
<artifactId>akka-tracing-core_${project.scala.version}</artifactId>
<version>0.6-SNAPSHOT</version>
</dependency>
Make sure you have enabled Sonatype snapshots.
In addition to above, Zipkin collector endpoint should be configured in application's config.
akka.tracing {
host = "localhost"
port = 9410 # default
}
Also you can setup extension to be initialized with actor system (it's not required, though):
akka.extensions += "com.github.levkhomich.akka.tracing.TracingExtension"