-
Notifications
You must be signed in to change notification settings - Fork 37
Slf4j Writer
cyrille-leclerc edited this page Dec 30, 2012
·
5 revisions
Send metrics to a SLF4J appender.
- Source: Slf4jWriter.java, javadoc
-
logger
: Name of the logger. Optional, default value:org.jmxexporter.output.Slf4jWriter
"outputWriters": [
{
"@class": "org.jmxexporter.output.Slf4jWriter",
"settings": {
"logger": "perfs"
}
}
]
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
- Configuration
- ... Expression Language
- ... Configuration Sample
- Output Writers
- ... Graphite Writer
- ... StatsD Writer
- ... Graphite Pickle Writer
- ... Librato Writer
- ... SLF4J Writer
- ... Stackdriver Writer
- ... CopperEgg Writer
- ... Csv Writer
- ... Console Writer
- Integration
- ... Maven Setup
- ... Spring Integration
- ... Plain Java Servlet Integration
- Configuration Templates
- ... Tomcat
- ... JVM
- Internals
- ... Implementation Decisions
- ... Health Monitoring
- Latest javadocs
- Forum (Google Groups)
- Downloads
- Samples
- ... [Cocktail Web App] (https://github.com/jmxtrans/embedded-jmxtrans-samples/tree/master/embedded-jmxtrans-webapp-coktail)
- License
- Release Notes