Skip to content

Commit 83ad212

Browse files
committed
lint markdown
1 parent 5abd3c8 commit 83ad212

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

jmx-scraper/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ The general command to invoke JMX scraper is `java -jar scraper.jar <config>`, w
1313
is the `build/libs/opentelemetry-jmx-scraper-<version>.jar` packaged binary when building this module.
1414

1515
Minimal configuration required
16+
1617
- `otel.jmx.service.url` for example `service:jmx:rmi:///jndi/rmi://server:9999/jmxrmi` for `server`
1718
host on port `9999` with RMI JMX connector.
1819
- `otel.jmx.target.system` or `otel.jmx.custom.scraping.config`
1920

2021
Configuration can be provided through:
21-
- command line arguments: `java -jar scraper.jar --config `
22+
23+
- command line arguments: `java -jar scraper.jar --config otel.jmx.target.system=...`
2224
- system properties `java -jar scraper.jar`
2325
- java properties file: `java -jar config.properties`
2426

@@ -38,6 +40,7 @@ needs to be used to support `otel.jmx.service.url` = `service:jmx:remote+http://
3840

3941
When doing so, the `java -jar` command can´t be used, we have to provide the classpath with
4042
`-cp`/`--class-path`/`-classpath` option and provide the main class file name:
43+
4144
```
4245
java -cp scraper.jar:jboss-client.jar io.opentelemetry.contrib.jmxscraper.JmxScraper <config>
4346
```

jmx-scraper/test-app/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# test-app
2+
13
This is a test CLI application that is only used for integration tests.
24
The goal of this application is to publish custom MBeans in JMX and then allow end-to-end testing.

jmx-scraper/test-webapp/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
# test-webapp
2+
13
This is a test web application that is only used for integration tests when metrics are published
24
only when an application is deployed to the container, for example with Wildfly session metrics.

0 commit comments

Comments
 (0)