fixes: dovecot saved mails counter. labels options for queued
This commit is contained in:
parent
29a9205508
commit
24858883b4
2 changed files with 4 additions and 4 deletions
|
@ -130,13 +130,13 @@ class Collector::Dovecot
|
|||
|
||||
def initialize store, prometheus
|
||||
@store = store
|
||||
@saved_mail_to_mailbox = prometheus.counter :saved_mail_to_mailbox_total, docstring: "A counter of saved mails to mailbox directly", labels: %i[process]
|
||||
@auth_errors = prometheus.counter :auth_errors_total, docstring: "A counter of dovecot auth errors by type.", labels: %i[error]
|
||||
@sieve = Sieve.new store, Collector::PrefixProxy.new( prometheus, :sieve)
|
||||
@lmtp = Delivery.new store, prometheus, @sieve, @saved_mail_to_mailbox, :lmtp
|
||||
@deliver = Delivery.new store, prometheus, @sieve, @saved_mail_to_mailbox, :deliver
|
||||
@imap_login = ImapLogin.new store, prometheus
|
||||
@imap = Imap.new store, prometheus
|
||||
@saved_mail_to_mailbox = prometheus.counter :saved_mail_to_mailbox_total, docstring: "A counter of saved mails to mailbox directly", labels: %i[process]
|
||||
@auth_errors = prometheus.counter :auth_errors_total, docstring: "A counter of dovecot auth errors by type.", labels: %i[error]
|
||||
end
|
||||
|
||||
def collect entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue