Skip to content

Instantly share code, notes, and snippets.

@pcn
Created May 31, 2013 18:21
Show Gist options
  • Select an option

  • Save pcn/5686894 to your computer and use it in GitHub Desktop.

Select an option

Save pcn/5686894 to your computer and use it in GitHub Desktop.
How to watch your carbon-relay. Make the below json into a dashboard in your graphite web ui
[
{
"target": [
"carbon.relays.*.metricsReceived"
]
},
{
"target": [
"carbon.relays.*.destinations.*.batchesSent"
]
},
{
"title": "Average batch size being sent to hostedgraphite/quality-based-resets",
"yMin": "0",
"target": [
"divideSeries(carbon.relays.<NAME OF YOUR RELAY>.destinations.<NAME OF THE DESTINATION>:2004:None.sent, carbon.relays.<NAME OF YOUR RELAY>.destinations.<NAME OF THE DESTINATION>:2004:None.batchesSent)",
"secondYAxis(carbon.relays.*.destinations.*.slowConnectionReset)"
]
},
{
"target": [
"carbon.relays.*.destinations.*.relayMaxQueueLength"
]
},
{
"target": [
"carbon.relays.*.destinations.*.sent"
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment