The block opens a separate port from which the monitoring system collects metrics. It appeared in PowerMTA 5.5. The block name is the address and port: 0/0 means all addresses of the machine, and a range can be given too — then the engine takes one matching address and writes which one to the log.
There is only one block per node. Metrics cannot be split by address or served to two systems on different ports.
The format is standard, and that is the main difference from the two other surfaces: the management interface serves its own format, accounting its own, while here it is what a ready-made monitoring system understands without a translator.
What is served is not the same as what the monitor shows. Besides traffic, connections and queue depth, there are error counters split into recipient level and queue level, and two delay summaries — the conversation and the time to the first attempt.
The vendor calls the cost negligible — but with a caveat: it applies to serving the metrics itself, not to track-time-first-attempt, which has its own cost in disk access.
# the whole block is one name line; the content is optional <prometheus-listener 0/0:9090></prometheus-listener> # delay values are opened separately, with node-level lines track-inbound-perf-stats true track-outbound-perf-stats true track-time-first-attempt true
0 relations
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇Five ways for a queue to hand off a messageA queue does not have to use SMTP: it can write to a file, run a program, call over HTTP or discard.