Page MenuHomePhabricator

Add metrics to Benthos
Closed, DeclinedPublic

Description

Task to track various activities related to Benthos metrics.

For future replacement of mtail on cache hosts, Benthos should produce metrics from HAProxy logs.

The metrics should be the same in format (and possibly the name too) respect to ones produced by mtail:

# histogram haproxy_client_ttfb
# histogram haproxy_client_healthcheck_ttfb
# counter haproxy_termination_states_total
# counter haproxy_sli_total
# counter haproxy_sli_good
# counter haproxy_sli_bad
  • ttfb/ttfb_healthcheck
  • termination_states_total
  • haproxy_sli_total
  • haproxy_sli_good
  • haproxy_sli_bad

Related Objects

Event Timeline

Change #1017088 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: add metric for ttfb

https://gerrit.wikimedia.org/r/1017088

Change #1017088 merged by Fabfur:

[operations/puppet@production] benthos: add metric for ttfb

https://gerrit.wikimedia.org/r/1017088

Change #1018255 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] prometheus: add calculated queries for benthos-haproxy

https://gerrit.wikimedia.org/r/1018255

Change #1018268 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: better metric naming

https://gerrit.wikimedia.org/r/1018268

Change #1018268 merged by Fabfur:

[operations/puppet@production] benthos: better metric naming

https://gerrit.wikimedia.org/r/1018268

Change #1018308 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: better metric naming, again

https://gerrit.wikimedia.org/r/1018308

Change #1018308 merged by Fabfur:

[operations/puppet@production] benthos: better metric naming, again

https://gerrit.wikimedia.org/r/1018308

Change #1018313 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: temporary disable haproxy metrics

https://gerrit.wikimedia.org/r/1018313

Change #1018313 merged by Fabfur:

[operations/puppet@production] benthos: temporary disable haproxy metrics

https://gerrit.wikimedia.org/r/1018313

Change #1018255 merged by Fabfur:

[operations/puppet@production] prometheus: add aggregate metrics for benthos

https://gerrit.wikimedia.org/r/1018255

Change #1018745 had a related patch set uploaded (by Andrea Denisse; author: Andrea Denisse):

[operations/puppet@production] prometheus: Ensure the Benthos metrics are correctly parsed

https://gerrit.wikimedia.org/r/1018745

Change #1018746 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] prometheus: fix typo in aggregate rules

https://gerrit.wikimedia.org/r/1018746

Change #1018746 abandoned by Fabfur:

[operations/puppet@production] prometheus: fix typo in aggregate rules

Reason:

https://gerrit.wikimedia.org/r/1018746

Change #1018745 merged by Andrea Denisse:

[operations/puppet@production] prometheus: Ensure the Benthos metrics are correctly parsed

https://gerrit.wikimedia.org/r/1018745

Change #1023372 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: add termination_state metric like the one provided by mtail

https://gerrit.wikimedia.org/r/1023372

Change #1023372 merged by Fabfur:

[operations/puppet@production] benthos: add termination_state metric like the one provided by mtail

https://gerrit.wikimedia.org/r/1023372

Change #1023379 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] benthos: fix termination_state format

https://gerrit.wikimedia.org/r/1023379

Change #1023379 merged by Fabfur:

[operations/puppet@production] benthos: fix termination_state format

https://gerrit.wikimedia.org/r/1023379