-
Notifications
You must be signed in to change notification settings - Fork 37
Graphite Writer
cyrille-leclerc edited this page Dec 30, 2012
·
12 revisions
Send metrics to a Graphite.
-
host
: hostname or ip address of the Graphite server. Mandatory -
port
: listen port for the TCP Plain Text Protocol of the Graphite server. Optional, default value:2003
. -
namePrefix
: prefix append to the metrics name. Optional, default value:servers.#hostname#.
.
"outputWriters": [
{
"@class": "org.jmxexporter.output.GraphiteWriter",
"settings": {
"host": "${graphite.host:localhost}",
"port": "${graphite.port:2003}",
"namePrefix: "${graphite.namePrefix:servers.#hostname#.}"
}
}
]
JMX Exporter works well with cloud based monitoring solutions like Hosted Graphite.
Sample configuration:
"outputWriters": [
{
"@class": "org.jmxexporter.output.GraphiteWriter",
"settings": {
"host": "carbon.hostedgraphite.com",
"port": 2003,
"namePrefix: "<<YOUR-API-KEY>>.servers.#hostname#."
}
}
]
- 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