forked from jmxtrans/embedded-jmxtrans
-
Notifications
You must be signed in to change notification settings - Fork 0
Slf4j Writer
cyrille-leclerc edited this page Jan 14, 2013
·
5 revisions
Send metrics to a SLF4J appender.
- Source: Slf4jWriter.java, javadoc
-
logger
: Name of the logger. Optional, default value:org.jmxtrans.embedded.output.Slf4jWriter
"outputWriters": [
{
"@class": "org.jmxtrans.embedded.output.Slf4jWriter",
"settings": {
"logger": "perfs"
}
}
]
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
- Configuration
- ... Expression Language
- ... Configuration Sample
- Output Writers
- ... Graphite Writer
- ... Graphite Pickle Writer
- ... Librato Writer
- ... SLF4J 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