Skip to content
Cyrille Le Clerc edited this page May 15, 2015 · 2 revisions

Send metrics to a StatsD daemon.

Settings

  • host: hostname or ip address of the StatsD daemon. Mandatory.
  • port: listen port of the StatsD daemon.
  • namePrefix: prefix append to the metrics name. Optional, default value: servers.#escaped_hostname#..
  • enabled: flag to enable/disable the writer. Optional, default value: true.

Sample configuration

  "outputWriters": [
    {
      "@class": "org.jmxtrans.embedded.output.StatsDWriter",
      "settings": {
        "host": "${statsd.host:localhost}",
        "port": "${statsd.port:8125}"
      }
    }
  ]