Skip to content

Commit 9cc829d

Browse files
author
ziquan
authored
Update java documentation
Update documentation to provide visibility on how to configure JMX metrics for Java tracer based on reading implementation [here](https://github.com/DataDog/dd-trace-java/blob/6bf1e159b0b919cf09880f2093c2f12c392c120b/dd-java-agent/agent-jmxfetch/src/main/java/datadog/trace/agent/jmxfetch/JMXFetch.java#L130)
1 parent 6a8fa5d commit 9cc829d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/tracing/setup/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ The tracer is configured using System Properties and Environment Variables as fo
226226
| `dd.jmxfetch.config` | `DD_JMXFETCH_CONFIG` | `null` | (Example: `activemq.d/conf.yaml,jmx.d/conf.yaml`) Additional metrics configuration file for JMX metrics collection. The Java Agent looks for `jvm_direct:true` in the `instance` section in the `yaml` file to change configuration. |
227227
| `dd.jmxfetch.check-period` | `DD_JMXFETCH_CHECK_PERIOD` | `1500` | How often to send JMX metrics (in ms). |
228228
| `dd.jmxfetch.refresh-beans-period` | `DD_JMXFETCH_REFRESH_BEANS_PERIOD` | `600` | How often to refresh list of avalable JMX beans (in seconds). |
229-
| `dd.jmxfetch.statsd.host` | `DD_JMXFETCH_STATSD_HOST` | same as `agent.host` | Statsd host to send JMX metrics to. |
230-
| `dd.jmxfetch.statsd.port` | `DD_JMXFETCH_STATSD_PORT` | 8125 | Statsd port to send JMX metrics to. |
229+
| `dd.jmxfetch.statsd.host` | `DD_JMXFETCH_STATSD_HOST` | same as `agent.host` | Statsd host to send JMX metrics to. If you are using Unix Domain Sockets, use an argument like 'unix://PATH_TO_UDS_SOCKET' example: unix:///var/datadog-agent/dsd.socket |
230+
| `dd.jmxfetch.statsd.port` | `DD_JMXFETCH_STATSD_PORT` | 8125 | Statsd port to send JMX metrics to. If you are using Unix Domain Sockets, input 0 |
231231

232232
**Note**:
233233

0 commit comments

Comments
 (0)