2016-11-11 21:03:40 +00:00
{
"id" : "45c064fd-ebf7-45a1-bf8d-f53746d38a03" ,
"measurement" : "haproxy" ,
"app" : "haproxy" ,
2016-11-15 18:11:32 +00:00
"autoflow" : true ,
2016-11-11 21:03:40 +00:00
"cells" : [
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "b846eda3-e068-4a34-91e9-c108c962a572" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Number of Servers" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "select mean(\"active_servers\") AS active_servers, mean(\"backup_servers\") AS backup_servers FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "a5070a99-c65a-4dfd-b486-2d3a2582d9eb" ,
"name" : "HAProxy – Sum HTTP 2xx" ,
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(last(\"http_response.2xx\"), 1s) AS \"2xx\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "ab80deab-f9be-4506-b547-6f8286cb7660" ,
"name" : "HAProxy – Sum HTTP 4xx" ,
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(last(\"http_response.4xx\"), 1s) AS \"4xx\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "9754391d-3464-49cc-b3ef-de9332d3bc20" ,
"name" : "HAProxy – Sum HTTP 5xx" ,
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(last(\"http_response.5xx\"), 1s) AS \"5xx\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "c836d118-6b03-436c-af60-0f95a5df0c89" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Frontend HTTP Requests/Second " ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT mean(\"req_rate\") AS \"requests_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "cc411bc8-8f14-43bb-865b-4b921310aef3" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Frontend Sessions/Second " ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"rate\")) AS \"sessions_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
2016-11-11 21:32:37 +00:00
"i" : "3cc170b6-cd89-4142-b6a7-ea61b78bbdff" ,
"name" : "HAProxy – Frontend Session Usage %" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"scur\")) / non_negative_derivative(max(\"slim\")) * 100 AS \"session_usage_percent\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "724db2a3-f23d-46d6-aa5b-f9e44cac1ee2" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Frontend Security Denials/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"dreq\")) AS \"denials_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "082a4e23-9256-441c-8414-db253a2c6d94" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Frontend Request Errors/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"ereq\")) AS \"errors_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "c7de430d-5684-494d-b735-0c87e7ea14e3" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Frontend Bytes/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"bin\")) AS \"bytes_in_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
} ,
2016-11-11 21:33:06 +00:00
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"bout\")) AS \"bytes_out_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
2016-11-11 21:32:37 +00:00
"i" : "cde02d86-4243-48d4-b812-46f8119b2ac5" ,
"name" : "HAProxy – Backend Average Response Time (ms)" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT max(\"rtime\") AS \"response_time\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "2e8ef243-c993-4a53-b010-32de4beb1f81" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Backend Connection Errors/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"econ\")) AS \"errors_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "f4223249-d2fa-4778-bb27-449bf8863ea3" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Backend Queued Requests/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"qcur\")) AS \"queued_per_second\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "b3bcca49-7118-4f7e-921d-a8d47505795a" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Backend Average Request Queue Time (ms)" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT max(\"qtime\") AS \"queue_time\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "dd925132-3419-4677-9f21-a3d34cf25c99" ,
2016-11-11 21:32:37 +00:00
"name" : "HAProxy – Backend Error Responses/Second" ,
2016-11-11 21:03:40 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT max(\"eresp\") AS \"error_response_rate\" FROM \":db:\".\":rp:\".\"haproxy\"" ,
2016-11-11 21:03:40 +00:00
"groupbys" : [ ] ,
"wheres" : [ ]
}
]
}
]
}