Requesting help with this, if someone has some spare time and is interested.
Having failed to get it working for a personal project, I cloned the java starter example on github, made a branch for it and added it there, but it also didn’t work.
The code can be found here: https://github.com/KoenDG/play-java-starter-example/tree/jaegertracing
In particular, I added the dependency, I added A provider for the Tracer class, bound it in the Module and added it to the CountController.
Then added some tracing in the count method.
The method still works and does the counting, but the logs aren’t showing up in the console and the Jaeger UI reports no services detected.
I’m not sure what I’m forgetting, if it’s a Play, Jaeger or network thing.
EDIT: Removing these links with where I found the examples since I’m a new user and there’s a max limit of 2 links per post for new users. I linked them in the commit message.
Note: if anyone is going to try this, you have to have a Jaeger instance running, suggested way is by using docker, as stated in the first link.