Closed llaumgui closed 7 months ago
Hi.
Prometheus is implemented as a sidecar container. In other words: it runs a separate docker image which consumes the logs from Postfix itself.
This is technically not feasible to do inside a single image, without building and pulling in the whole kumina/postfix_exporter image.
You can, however, implement it yourself by running a second container inside docker-compose.yaml
, based on the example in the chart. There are some tweaks as you need to:
postfix_exporter
consumes the proper output fileWith all of that, there's no simple and elegant solution to do this completely copy-paste generic.
I am willing, however, to pull your docker-compose.yaml
in into examples should you find a configuration that works.
Hi,
it would be fine to can enable prometheus feature without using k8s (docker-compose).
Best regards.