smtpsrv_transaction_duration
how long an incoming SMTP transaction takes.Histogram
This metric is a histogram which means that it is exported as three underlying metrics:
smtpsrv_transaction_duration_count- a counter tracking how many events have been accumulated into the histogramsmtpsrv_transaction_duration_sum- a counter tracking the total value of all of the events have been accumulated into the histogramsmtpsrv_transaction_duration_bucket- a counter tracking the number of events that fall within the various buckets shown above. This counter has an additionallelabel that indicates the bucket threshold. For example, the first bucket for this histogram will generate a labelle="0.005"which will keep track of the number of events whose value was less-or-equal (le) that value.
The recommended visualization for a histogram is a heatmap based on smtpsrv_transaction_duration_bucket.
While it is possible to calculate a mean average for smtpsrv_transaction_duration by computing smtpsrv_transaction_duration_sum / smtpsrv_transaction_duration_count, it can be difficult to reason about what that value means if the traffic patterns are not uniform since the launch of the process. We strongly recommend using a heatmap visualization instead of computing an average value.