aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorErik Grinaker2015-02-05 20:33:40 +0000
committerPim van den Berg2015-06-22 10:53:23 +0200
commitd327eb5b5121bef2da61d61876f0ccded68e13d8 (patch)
tree9953bfd72242ecac3f068018462d04743d9e0244 /plugin
parentBug fix in get_faded_color (diff)
downloadapt-panopticon_cgp-d327eb5b5121bef2da61d61876f0ccded68e13d8.zip
apt-panopticon_cgp-d327eb5b5121bef2da61d61876f0ccded68e13d8.tar.gz
apt-panopticon_cgp-d327eb5b5121bef2da61d61876f0ccded68e13d8.tar.bz2
apt-panopticon_cgp-d327eb5b5121bef2da61d61876f0ccded68e13d8.tar.xz
Added haproxy template.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/haproxy.json106
1 files changed, 106 insertions, 0 deletions
diff --git a/plugin/haproxy.json b/plugin/haproxy.json
new file mode 100644
index 0000000..5d191ce
--- /dev/null
+++ b/plugin/haproxy.json
@@ -0,0 +1,106 @@
1{
2 "haproxy_bytes": {
3 "title": "HAProxy Bandwidth ({{PI}})",
4 "vertical": "Bytes/s",
5 "type": "stacked",
6 "legend": {
7 "in": {
8 "name": "Incoming",
9 "color": "00ff00"
10 },
11 "out": {
12 "name": "Outgoing",
13 "color": "0000ff"
14 }
15 }
16 },
17
18 "haproxy_error": {
19 "title": "HAProxy Errors ({{PI}})",
20 "vertical": "Requests",
21 "type": "stacked",
22 "legend": {
23 "connection": {
24 "name": "Connection",
25 "color": "ff0000"
26 },
27 "response": {
28 "name": "Response",
29 "color": "ffa500"
30 },
31 "redistribute": {
32 "name": "Redistributed",
33 "color": "0000ff"
34 },
35 "retry": {
36 "name": "Retried",
37 "color": "00ffff"
38 }
39 }
40 },
41
42 "haproxy_response": {
43 "title": "HAProxy Responses ({{PI}})",
44 "vertical": "Responses",
45 "type": "stacked",
46 "legend": {
47 "1xx": {
48 "color": "ffff00"
49 },
50 "2xx": {
51 "color": "00ff00"
52 },
53 "3xx": {
54 "color": "0000ff"
55 },
56 "4xx": {
57 "color": "ffa500"
58 },
59 "5xx": {
60 "color": "ff0000"
61 },
62 "other": {
63 "name": "Other",
64 "color": "00ffff"
65 }
66 }
67 },
68
69 "haproxy_sessions": {
70 "title": "HAProxy Sessions ({{PI}})",
71 "vertical": "Sessions",
72 "legend": {
73 "total": {
74 "name": "Total",
75 "color": "00ff00"
76 },
77 "queue": {
78 "name": "Queued",
79 "color": "ffa500"
80 }
81 }
82 },
83
84 "haproxy_time": {
85 "title": "HAProxy Response Times ({{PI}})",
86 "vertical": "Time (ms)",
87 "legend": {
88 "connect": {
89 "name": "Connect",
90 "color": "ff0000"
91 },
92 "queue": {
93 "name": "Queue",
94 "color": "ffa500"
95 },
96 "response": {
97 "name": "Response",
98 "color": "00ff00"
99 },
100 "total": {
101 "name": "Total",
102 "color": "0000ff"
103 }
104 }
105 }
106}