Skip to content
cyrille-leclerc edited this page Jan 14, 2013 · 5 revisions

Send metrics to a SLF4J appender.

Settings

  • logger: Name of the logger. Optional, default value: org.jmxtrans.embedded.output.Slf4jWriter

Sample configuration

"outputWriters": [
  {
    "@class": "org.jmxtrans.embedded.output.Slf4jWriter",
    "settings": {
      "logger": "perfs"
    }
  }
]

Output

Graphite's Carbon Plan Text protocol.

Format:

result.name<space>value<space>epoch-in-seconds

Sample output:

00:39:45.971 [main] INFO  org.jmxtrans.embedded.output.Slf4jWriter - jvm.os.OpenFileDescriptorCount 96 1356910785