Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: doveadm stats dump doesn't display updated statistics #4385

@aldelsa

Description

@aldelsa

Subject

I would like some feedback concerning a use case

Description

I am trying to export quota metrics using the mailserver image, so that Prometheus can use them.

The first thing I need to configure is to enable the stats to do so. But there is no way the command ‘doveadm stats dump’.

metric_name    field    count    sum    min    max    avg    median    stddev    %95
quota_usage    duration    0    0    0    0    0.00    0    0.00    0
quota_usage    bytes_used    0    0    0    0    0.00    0    0.00    0
quota_usage    user    0    0    0    0    0.00    0    0.00    0
quota_usage    mailbox    0    0    0    0    0.00    0    0.00    0

The configuration is:

    metric quota_usage {
      description = "Quota used in bytes"
      fields = bytes_used user mailbox
      filter = event=quota
      group_by = user
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions