Skip to content
cyrille-leclerc edited this page Dec 30, 2012 · 5 revisions

Send metrics to a SLF4J appender.

Settings

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

Sample configuration

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

Output

Format:

result.name<tab>epoch-in-millis<tab>value

Sample output:

00:39:45.971 [main] INFO  org.jmxexporter.output.Slf4jWriter - jvm.os.OpenFileDescriptorCount	1356910785672	96