The goal is to have exim statistics exported as Prometheus metrics by looking at exim logs with mtail.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | fgiunchedi | T177195 Reduce technical debt in metrics monitoring | |||
Resolved | fgiunchedi | T177196 Port non-deprecated Diamond collectors to Prometheus | |||
Resolved | fgiunchedi | T179565 Port exim statistics to Prometheus | |||
Resolved | fgiunchedi | T181794 Have jenkins run mtail tests via tox/nose |
Event Timeline
Change 388032 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] mx: export metrics from exim4 mainlog
Change 388478 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] mtail: add test scaffolding
Change 388032 merged by Filippo Giunchedi:
[operations/puppet@production] mx: export metrics from exim4 mainlog
Change 390982 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] mtail: allow changing running group
Change 388478 merged by Filippo Giunchedi:
[operations/puppet@production] mtail: add test scaffolding
Change 390982 merged by Filippo Giunchedi:
[operations/puppet@production] mtail: allow changing running group
Change 391011 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] role: add ferm rule for mtail on mx
Change 391011 merged by Filippo Giunchedi:
[operations/puppet@production] role: add ferm rule for mtail on mx
Change 392039 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] prometheus: add mtail/exim jobs
Change 392039 merged by Filippo Giunchedi:
[operations/puppet@production] prometheus: add mtail/exim jobs
Metrics are being collected, I started a dashboard at https://grafana.wikimedia.org/dashboard/db/mail (though improvements are welcome of course!) and I'm resolving the task (cc @herron @faidon as mail people)
Hi,
Please, where is the source code of this exim4 to prometheus ?
There are very few exim4 exporter findable on the net, perhaps yours is the greater :-)
Thanks & cheers, Cyrille37.
Hi @Cyrille37,
we're currently using mtail (https://github.com/google/mtail) to turn exim logs into metrics. See also https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/production/modules/mtail/files/programs/exim.mtail for the current configuration
Hope this helps!
Filippo