An open API service indexing awesome lists of open source software.

https://github.com/linyows/imap_exporter

📮 Export IMAP4rev1 server health to Prometheus.
https://github.com/linyows/imap_exporter

Last synced: 28 days ago
JSON representation

📮 Export IMAP4rev1 server health to Prometheus.

Awesome Lists containing this project

README

        

IMAP4rev1 Exporter
==

GitHub Workflow

Export IMAP4rev1 server health to Prometheus.

Usage
--

To run it:

```sh
$ make
$ ./imap_exporter --config=CONFIG []
```

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)
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the go test ./... command and confirm that it passes
1. Run gofmt -s
1. Create a new Pull Request

Author
--

[linyows](https://github.com/linyows)