diff options
author | Fotis Voutsas <fotis@netdata.cloud> | 2023-07-11 13:58:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 13:58:11 +0300 |
commit | 2c0af153d71d8d28d0803a32350b0e3d89cc83dd (patch) | |
tree | 01a9ff970bbb8ff979b2025da99d2a17e1066b0a /collectors/python.d.plugin/haproxy | |
parent | b6dfef57516f734d3e2e1953d7bcedd69c2d890f (diff) |
Add yaml metadata for metrics.csv files (#15238)
Diffstat (limited to 'collectors/python.d.plugin/haproxy')
-rw-r--r-- | collectors/python.d.plugin/haproxy/metadata.yaml | 199 |
1 files changed, 199 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/haproxy/metadata.yaml b/collectors/python.d.plugin/haproxy/metadata.yaml new file mode 100644 index 0000000000..e78592ecad --- /dev/null +++ b/collectors/python.d.plugin/haproxy/metadata.yaml @@ -0,0 +1,199 @@ +module_name: haproxy +plugin_name: python.d.plugin +alerts: + - name: haproxy_backend_server_status + link: https://github.com/netdata/netdata/blob/master/health/health.d/haproxy.conf + metric: haproxy_hs.down + info: average number of failed haproxy backend servers over the last 10 seconds + os: "linux freebsd" +metrics: + folding: + title: Metrics + enabled: false + description: "" + availability: [] + scopes: + - name: global + description: "" + labels: [] + metrics: + - name: haproxy_f.bin + description: Kilobytes In + unit: "KiB/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.bout + description: Kilobytes Out + unit: "KiB/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.scur + description: Sessions Active + unit: "sessions" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.qcur + description: Session In Queue + unit: "sessions" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_1xx + description: HTTP responses with 1xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_2xx + description: HTTP responses with 2xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_3xx + description: HTTP responses with 3xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_4xx + description: HTTP responses with 4xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_5xx + description: HTTP responses with 5xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_other + description: HTTP responses with other codes (protocol error) + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_f.hrsp_total + description: HTTP responses + unit: "responses" + chart_type: line + dimensions: + - name: a dimension per frontend server + - name: haproxy_b.bin + description: Kilobytes In + unit: "KiB/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.bout + description: Kilobytes Out + unit: "KiB/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.scur + description: Sessions Active + unit: "sessions" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.qcur + description: Sessions In Queue + unit: "sessions" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_1xx + description: HTTP responses with 1xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_2xx + description: HTTP responses with 2xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_3xx + description: HTTP responses with 3xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_4xx + description: HTTP responses with 4xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_5xx + description: HTTP responses with 5xx code + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_other + description: HTTP responses with other codes (protocol error) + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.hrsp_total + description: HTTP responses (total) + unit: "responses/s" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.qtime + description: The average queue time over the 1024 last requests + unit: "milliseconds" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.ctime + description: The average connect time over the 1024 last requests + unit: "milliseconds" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.rtime + description: The average response time over the 1024 last requests + unit: "milliseconds" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_b.ttime + description: The average total session time over the 1024 last requests + unit: "milliseconds" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_hs.down + description: Backend Servers In DOWN State + unit: "failed servers" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_hs.up + description: Backend Servers In UP State + unit: "health servers" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy_hb.down + description: Is Backend Failed? + unit: "boolean" + chart_type: line + dimensions: + - name: a dimension per backend server + - name: haproxy.idle + description: The Ratio Of Polling Time Vs Total Time + unit: "percentage" + chart_type: line + dimensions: + - name: idle |