imap_exporter

command module
v0.0.0-...-f9009d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

README

IMAP4rev1 Exporter

GitHub Workflow

Export IMAP4rev1 server health to Prometheus.

Usage

To run it:

$ make
$ ./imap_exporter --config=CONFIG [<flags>]

Exported Metrics

Metric Meaning Labels
imap_up Whether scraping IMAP metrics was successful
first_loadin_latency_seconds Latency first loading of MUA user, cmd

First Loading Latency is:

  • TCP connection time seconds
  • Login command time seconds
  • List command time seconds
  • Select command time seconds
  • Fetch command time seconds
  • Logout command time seconds

Contribution

  1. Fork (https://github.com/linyows/imap_exporter/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

linyows

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL