问题标签 [cinnamon]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Lightbend telemetry gets triggered only when executing the program via terminal
I am trying to develop an Akka application using Scala and I would like to log the application behavior using Lightbend Telemetry: Cinnamon Grafana + Prometheus.
I set up everything with sbt following this tutorial https://developer.lightbend.com/docs/telemetry/current//setup/cinnamon-agent-sbt.html
Eveything works well, but Cinnamon only starts when I run my application from command line using
And I can see the logs in the console
When I run it from IntelliJ (run) or when I build the fat jar through set-assembly and run it with java -jar, Cinnamon does not start.
Anyone that can help me understanding why?