sergeymakinen / postfix_exporter

Export Postfix stats to Prometheus
BSD 3-Clause "New" or "Revised" License
11 stars 0 forks source link

Comparaison to other exporter #4

Closed deajan closed 1 year ago

deajan commented 1 year ago

Hello,

I'm currently using https://github.com/kumina/postfix_exporter Would you mind explaining the differences between your exporter and the above one in a couple of words ?

Best regards.

sergeymakinen commented 1 year ago

Hey @deajan, mostly it fits my needs in terms of a metric set and a slightly different parsing.

I'm sure there are overlaps with the kumina's project but mine suites me better so far, hopefully it or its parts might be useful to others, that's why I decided to share it.

deajan commented 1 year ago

Thanks. Do you have a grafana dashboard for your exporter ?

sergeymakinen commented 1 year ago

Here's one I use: https://gist.github.com/sergeymakinen/7a3ceb3de41fd4f79703b1497c32b33a

deajan commented 11 months ago

@sergeymakinen Thank you for your info. I've compared both exporters recently from the same mail servers.

I don't see where I can get the deferred messages (the actual mail queue) from your exporter, or the age of the mails in the queue perhaps. These metrics (I get them on the other exporter, which isn't maintained anymore as it seems), help me to diagnose blacklist problems on my mail servers.

How do you proceed to do so ? Perhaps something I missed ?

sergeymakinen commented 11 months ago

@deajan I think those metrics are not included as I haven’t needed them yet. I could take a look and add as it seems like a good idea to have them.

deajan commented 11 months ago

@sergeymakinen May I perhaps open an issue for the metrics that could be useful ?

sergeymakinen commented 11 months ago

@deajan Sure thing!