Skip to content

Commit 0aa0324

Browse files
committed
Revert "cmdeploy/dovecot/dovecot.conf.j2: tweak idle/hibernate metrics"
This reverts commit bfcfc9b.
1 parent bfcfc9b commit 0aa0324

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -326,20 +326,11 @@ metric imap_idle_duration {
326326
group_by = duration:exponential:5:11:10
327327
}
328328
329-
metric imap_idle_commands {
330-
filter = event=imap_command_finished AND cmd_name=IDLE
331-
group_by = tagged_reply_state
332-
}
333-
334-
metric imap_idle_failed {
335-
filter = event=imap_command_finished AND cmd_name=IDLE AND tagged_reply_state!=OK
336-
}
337-
338329
# Hibernation Metrics (requires imap_hibernate_timeout to be set)
339330
metric imap_hibernated {
340331
filter = event=imap_client_hibernated
341332
# error field present = failure
342-
# group_by = mailbox
333+
group_by = mailbox
343334
}
344335
345336
metric imap_hibernated_failed {
@@ -349,18 +340,7 @@ metric imap_hibernated_failed {
349340
metric imap_unhibernated {
350341
filter = event=imap_client_unhibernated
351342
fields = hibernation_usecs
352-
# group_by = reason
353-
}
354-
355-
metric imap_unhibernated_reason {
356-
filter = event=imap_client_unhibernated
357343
group_by = reason
358-
fields = hibernation_usecs
359-
}
360-
361-
metric imap_unhibernated_reason_sleep {
362-
filter = event=imap_client_unhibernated
363-
group_by = reason hibernation_usecs:exponential:4:8:10
364344
}
365345
366346
metric imap_unhibernated_failed {

0 commit comments

Comments
 (0)