Skip to content

How to pass jmx-metrics configuration parameters to the k8s opentelemetry auto-instrumentation injected java agent #9601

Discussion options

You must be logged in to vote

Also would be possible to have the java agent injected using the "Instrumentation" k8s CR as I did till now but passing the metric definitions via java command

$ java -Dotel.jmx.config=path/to/config_file.yaml,more_rules.yaml \
     ... \
     -jar myapp.jar

without -javaagent:path/to/opentelemetry-javaagent.jar ?

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@christian-sanchez-db
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@christian-sanchez-db
Comment options

@oliver-zhang
Comment options

@christian-sanchez-db
Comment options

@oliver-zhang
Comment options

@christian-sanchez-db
Comment options

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