| Platform | Metrics | Logs | Traces |
|---|---|---|---|
| Linux | ✓ | ||
| Windows | ✓ | ||
| macOS | ✓ |
This source supports Java versions 11 and 16.
| Parameter | Type | Default | Description |
|---|---|---|---|
| collection_interval | int |
60 | Sets how often (seconds) to scrape for metrics. |
| address | string |
localhost | IP address or hostname to scrape for JMX metrics. |
| port | int |
9999 | Port to scrape for JMX metrics. |
| jar_path | string |
“/opt/opentelemetry-java-contrib-jmx-metrics.jar” | Full path to the JMX metrics jar. |