Skip to content

Commit

Permalink
Add haproxy graph def
Browse files Browse the repository at this point in the history
  • Loading branch information
Poil committed Apr 29, 2015
1 parent 931e71b commit 34defc8
Showing 1 changed file with 107 additions and 0 deletions.
107 changes: 107 additions & 0 deletions plugin/haproxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"haproxy_bytes": {
"title": "HAProxy Bandwidth ({{PI}})",
"vertical": "Bytes/s",
"type": "stacked",
"legend": {
"in": {
"name": "Incoming",
"color": "00ff00"
},
"out": {
"name": "Outgoing",
"color": "0000ff"
}
}
},

"haproxy_error": {
"title": "HAProxy Errors ({{PI}})",
"vertical": "Requests",
"type": "stacked",
"legend": {
"connection": {
"name": "Connection",
"color": "ff0000"
},
"response": {
"name": "Response",
"color": "ffa500"
},
"redistribute": {
"name": "Redistributed",
"color": "0000ff"
},
"retry": {
"name": "Retried",
"color": "00ffff"
}
}
},

"haproxy_response": {
"title": "HAProxy Responses ({{PI}})",
"vertical": "Responses",
"type": "stacked",
"legend": {
"1xx": {
"color": "ffff00"
},
"2xx": {
"color": "00ff00"
},
"3xx": {
"color": "0000ff"
},
"4xx": {
"color": "ffa500"
},
"5xx": {
"color": "ff0000"
},
"other": {
"name": "Other",
"color": "00ffff"
}
}
},

"haproxy_sessions": {
"title": "HAProxy Sessions ({{PI}})",
"vertical": "Sessions",
"legend": {
"total": {
"name": "Total",
"color": "00ff00"
},
"queue": {
"name": "Queued",
"color": "ffa500"
}
}
},

"haproxy_time": {
"title": "HAProxy Response Times ({{PI}})",
"vertical": "Time (ms)",
"legend": {
"connect": {
"name": "Connect",
"color": "ff0000"
},
"queue": {
"name": "Queue",
"color": "ffa500"
},
"response": {
"name": "Response",
"color": "00ff00"
},
"total": {
"name": "Total",
"color": "0000ff"
}
}
}
}

0 comments on commit 34defc8

Please sign in to comment.