1. 02 Nov, 2017 4 commits
  2. 31 Oct, 2017 2 commits
    • Nick Groenen's avatar
      Make scopes configurable · 8af66431
      Nick Groenen authored
      This allows a user to select which sets of dovecot stats he or she is
      interested in.
      
      The default has been deliberately changed mainly because it makes the
      description/format more obvious, but also because gathering global stats
      in addition to user stats generally makes sense.
      
      Original credit goes to @jap
      (https://github.com/kumina/dovecot_exporter/pull/4)
      8af66431
    • Nick Groenen's avatar
      Switch to kingpin for flag parsing · a0a7bdde
      Nick Groenen authored
      Prometheus is standardizing on kingping for flag parsing, as discussed
      in https://github.com/prometheus/prometheus/issues/2455. Many exporters
      are following this decision so most of the Prometheus ecosystem uses
      kingpin.
      
      As a consequence of this change, flags now require double dashes.
      `-web.listen-address` becomes `--web.listen-address` for example.
      
      Usage before:
      
      ```
      Usage of ./dovecot_exporter:
        -dovecot.socket-path string
          	Path under which to expose metrics. (default "/var/run/dovecot/stats")
        -web.listen-address string
          	Address to listen on for web interface and telemetry. (default ":9166")
        -web.telemetry-path string
          	Path under which to expose metrics. (default "/metrics")
      ```
      
      And after:
      
      ```
      usage: dovecot_exporter [<flags>]
      
      Prometheus metrics exporter for Dovecot
      
      Flags:
        --help                        Show context-sensitive help (also try --help-long and --help-man).
        --web.listen-address=":9166"  Address to listen on for web interface and telemetry.
        --web.telemetry-path="/metrics"
                                      Path under which to expose metrics.
        --dovecot.socket-path="/var/run/dovecot/stats"
                                      Path under which to expose metrics.
      ```
      a0a7bdde
  3. 25 Feb, 2017 1 commit
  4. 22 Dec, 2016 3 commits
  5. 20 Dec, 2016 7 commits