Skip to content

Can't get auto instrumentation done with Play framework java #2846

Answered by mateuszrzeszutek
ericjee asked this question in Q&A
Discussion options

You must be logged in to vote

Are there no javaagent logs at all? Not even the VersionLogger startup log?

Your dockerfile seems to use JAVA_OPTS env var while the yaml fragment that you posted defines JVM_OPTS - is this correct? Does JVM_OPTS get translated to JAVA_OPTS somewhere? Also, there are those -J prefixes in the JVM_OPTS env var, are these stripped by some script?

Also, I don't think that OTEL_LOG_LEVEL is used by anything, if you want to enable the javaagent debug mode try OTEL_JAVAAGENT_DEBUG = true.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ericjee
Comment options

@ericjee
Comment options

Answer selected by ericjee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants