-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (25 loc) · 1005 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
lazy val akkaHttpVersion = "10.2.4"
lazy val akkaVersion = "2.6.14"
fork := true
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "com.github.makssobolevs",
scalaVersion := "2.13.5"
)),
name := "Akka Open Telemetry Test",
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.scalatest" %% "scalatest" % "3.1.4" % Test,
),
javaAgents += "io.opentelemetry.javaagent" % "opentelemetry-javaagent" % "1.9.2" % "runtime",
run / javaOptions ++= Seq(
"-Dotel.resource.attributes=service.name=test",
"-Dotel.traces.exporter=logging",
"-Dotel.traces.sampler=always_on",
)
)
.enablePlugins(JavaAgent)