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 following the instructions, after sbt disting and then running Play (in production mode), there were no metrics reported via the Prometheus exporter web page.
Actually there were a few kamon metrics, but not the hundreds of akka metrics I got otherwise when using the SBT Kanela Runner Plugin, in both dev and production mode.
I noticed in the dist-generated start script, there was no -javaagent: JVM argument provided, which I'm guessing is the problem since I understand you're using the aspectj agent to do the instrumentation. Seems the instructions are thus missing the needed step of adding this to build.sbt: javaAgents += "org.aspectj" % "aspectjweaver" % "1.9.6" % "runtime".
The text was updated successfully, but these errors were encountered:
Hey @ctoomey, thanks for bringing this up. I'll update that guide ASAP!
We are not using AspectJ since Kamon 2.x. The new agent is our own Kanela agent 😄. The right dependency to add would be javaAgents += "io.kamon" % "kanela-agent" % "1.0.11". More info here.
Please let me know if that fixes it for you. Thanks!
When following the instructions, after
sbt dist
ing and then running Play (in production mode), there were no metrics reported via the Prometheus exporter web page.Actually there were a few
kamon
metrics, but not the hundreds of akka metrics I got otherwise when using the SBT Kanela Runner Plugin, in both dev and production mode.I noticed in the dist-generated start script, there was no
-javaagent:
JVM argument provided, which I'm guessing is the problem since I understand you're using the aspectj agent to do the instrumentation. Seems the instructions are thus missing the needed step of adding this tobuild.sbt
:javaAgents += "org.aspectj" % "aspectjweaver" % "1.9.6" % "runtime"
.The text was updated successfully, but these errors were encountered: