kumina / postfix_exporter

A Prometheus exporter for Postfix.
Apache License 2.0
241 stars 140 forks source link

Confusion around metrics #66

Open neshmi opened 4 years ago

neshmi commented 4 years ago

I've been looking at the 'postfix_showq_message_size_bytes_count' metric. I would like to be able to monitor the queue depth for postfix, and this seems to be the most appropriate metric, however, I am not sure if I am grasping what it is trying to express.

It doesn't seem like there is any metric that will count individual messages (that would be a great metric to have), so how exactly should I be using this metric to understand the queue depth with postfix? I've seen a grafana dashboard using this exporter, but that graph doesn't really correspond with the messages we are processing.

Any insight here would be really welcome!

thanks!

flyhard commented 4 years ago

I'd guess you are looking for postfix_smtp_status_total to see how many messages are on the queue?

neshmi commented 4 years ago

That certainly sounds like a promising metric, but that isn't showing up for me. Is it possible I'm missing something in the configuration? Or is this a recently introduced metric?

So, what is postfix_showq_message_size_bytes_count actually expressing? I saw this issue: https://github.com/kumina/postfix_exporter/issues/15 but I'm still not entirely sure what this metric is expressing. Just want to make sure I'm understanding that.

Thanks!

maxkratz commented 4 years ago

That certainly sounds like a promising metric, but that isn't showing up for me. Is it possible I'm missing something in the configuration? Or is this a recently introduced metric?

I've installed the postifx_exporter on three systems (via a docker image and as binary) but I do not get this metric, to.

nick-wvu commented 1 year ago

I don't have that metric either.

rmattes commented 4 months ago

Any news on this? That metric is missin here as well ....