Code Monkey home page Code Monkey logo

dovecot_exporter's Introduction

Dovecot exporter

This repository provides a dovecot_exporter utility that can be used to scrape statistics from Dovecot and export them as Prometheus metrics. It extracts the metrics that are exposed by Dovecot's stats module by connecting to UNIX socket /var/run/dovecot/stats and serves them as Prometheus metrics over TCP port 9166.

A list of command line flags supported by this utility can be obtained by looking at this exporter's main() function. Do note that all command line flags require two leading dashes (e.g., --dovecot.scopes).

The metrics provided by this exporter look like this:

dovecot_up{scope="user"} 1
dovecot_user_last_update{user="[email protected]"} 1.482243627730987e+09
dovecot_user_mail_cache_hits{user="[email protected]"} 298
dovecot_user_mail_lookup_attr{user="[email protected]"} 4
dovecot_user_mail_lookup_path{user="[email protected]"} 87
dovecot_user_mail_read_bytes{user="[email protected]"} 176544
dovecot_user_mail_read_count{user="[email protected]"} 83
dovecot_user_maj_faults{user="[email protected]"} 0
dovecot_user_min_faults{user="[email protected]"} 156053
dovecot_user_num_cmds{user="[email protected]"} 565
dovecot_user_num_logins{user="[email protected]"} 80
dovecot_user_read_bytes{user="[email protected]"} 2.63032577e+08
dovecot_user_read_count{user="[email protected]"} 73992
dovecot_user_reset_timestamp{user="[email protected]"} 1.482239247e+09
dovecot_user_sys_cpu{user="[email protected]"} 2.236
dovecot_user_user_cpu{user="[email protected]"} 11.944
dovecot_user_vol_cs{user="[email protected]"} 2981
dovecot_user_write_bytes{user="[email protected]"} 961822
dovecot_user_write_count{user="[email protected]"} 4906

The interpretation of these metrics is described on the Dovecot wiki.

dovecot_exporter's People

Contributors

bartverc avatar edschouten avatar zoni avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.