Skip to content

add postfix metrics exporter#80

Merged
funkypenguin merged 5 commits intodocker-mailserver:masterfrom
konvergence:with-postfix-exporter
Aug 10, 2023
Merged

add postfix metrics exporter#80
funkypenguin merged 5 commits intodocker-mailserver:masterfrom
konvergence:with-postfix-exporter

Conversation

@konvergence
Copy link
Contributor

New values metrics allow to export postfix metrics for prometheus
You can also generate a serviceMonitor if you use prometheus operator

  • example of values for metrics
# when metrics is enabled, we mount subpath log from pvc into /var/log/mail
metrics:
  enabled: true
  image:
    name: blackflysolutions/postfix-exporter@sha256
    tag: 7ed7c0534112aff5b44757ae84a206bf659171631edfc325c3c1638d78e74f73
    pullPolicy: "IfNotPresent"

  resources:
    requests:
      memory: "256Mi"
    #  cpu: "100M"
    #limits:
    #  memory: "256Mi"
    #  cpu: "500M"


  serviceMonitor:
    enabled: true
    scrapeInterval: 15s

Copy link
Contributor

@funkypenguin funkypenguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the delay, this looks like a great addition, thank you!

@funkypenguin funkypenguin merged commit 22e70d0 into docker-mailserver:master Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants