Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11725188
10-metrics.conf
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
10-metrics.conf
View Options
# -------------------------------------------------------------
# Dovecot configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/mailserver/dovecot/files/conf.d/10-metrics.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Statistics and metrics
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
metric auth_success {
filter = event=auth_request_finished AND success=yes
}
metric auth_failures {
filter = event=auth_request_finished AND NOT success=yes
}
metric imap_command {
filter = event=imap_command_finished
group_by = cmd_name tagged_reply_state
}
metric smtp_command {
filter = event=smtp_server_command_finished
group_by = cmd_name status_code duration:exponential:1:5:10
}
metric mail_delivery {
filter = event=mail_delivery_finished
group_by = duration:exponential:1:5:10
}
# -------------------------------------------------------------
# Publish to HTTP using OpenMetrics format
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
service stats {
inet_listener http {
address = {{ ip_internal }}
port = 9900
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 18, 19:18 (4 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2991451
Default Alt Text
10-metrics.conf (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment