cherti / mailexporter

Export Prometheus-style metrics about mail server functionality
https://prometheus.io
GNU General Public License v3.0
45 stars 9 forks source link

measure SMTP-handshake-time #11

Closed cherti closed 7 years ago

cherti commented 7 years ago

it might be interesting to know how long the SMTP-handshake lasts when the mail is sent out.

Therefore metrics should be included that measure that.

This should be a metric similar to this metric and this would be the call we are interested in to measure.

This looks like an attractive way of doing so in combination with a time.Now().