So are some more extensive metrics configuration examples available with grafana dashboards? Maybe even a seperate set specific to debugging?
I think it would be nice to have this example be something useful and
long. It is easier to remove some metrics from the example, than searching for events fields etc creating your own.
[1] https://doc.dovecot.org/configuration_manual/stats/openmetrics/
Point is to use some external tool for that. Dovecot provides counters. Prometheus etc are good UI tools for this, and we have a simple cli tool too, see https://github.com/dovecot/tools/blob/master/watch-stats.py
Yes I have been using a grafana prometheus dashboard with some 'third party' exporter for dovecot. But I prefer to use your metrics, because I can define exactly the metrics that I want, and do not dump 70% data, that I am not using any way (as with so many exporters). Do you have a more 'production' ready dovecot metrics config and grafana dashboard?