File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ Minimal configuration required
2020
2121Configuration can be provided through:
2222
23- - command line arguments: ` java -jar scraper.jar --config otel.jmx.target.system=... `
24- - system properties ` java -jar scraper.jar `
25- - java properties file: ` java -jar config.properties `
23+ - command line arguments:
24+ ` java -jar scraper.jar --config otel.jmx.service.url=service:jmx:rmi:///jndi/rmi://tomcat:9010/jmxrmi otel.jmx.target.system=tomcat ` .
25+ - command line arguments JVM system properties:
26+ ` java -Dotel.jmx.service.url=service:jmx:rmi:///jndi/rmi://tomcat:9010/jmxrmi -Dotel.jmx.target.system=tomcat -jar scraper.jar ` .
27+ - java properties file: ` java -jar scraper.jar -config config.properties ` .
28+ - stdin: ` java -jar scraper.jar -config - ` where ` otel.jmx.target.system=tomcat ` and
29+ ` otel.jmx.service.url=service:jmx:rmi:///jndi/rmi://tomcat:9010/jmxrmi ` is written to stdin.
2630
2731TODO: update this once autoconfiguration is supported
2832
You can’t perform that action at this time.
0 commit comments