/uptimerobot-prometheus-exporter

A Golang Prometheus exporter for UptimeRobot monitors.

Primary LanguageGoMIT LicenseMIT

Uptimerobot Prometheus Exporter

A golang prometheus exporter for UptimeRobot.

Build Status

Building and running

The default make file behavior is to build the binary

$ make
$ export UPTIMEROBOT_API_KEY="api-key-here"
$ ./uptimerobot_exporter

Docker

$ make docker
$ docker run --rm -e "UPTIMEROBOT_API_KEY=api-key-here" uptimerobot-exporter

Vendoring

Package vendoring is handled with dep.

Environment variables

The system only depends on one single environment variable:

  • UPTIMEROBOT_API_KEY The api key provided by UptimeRobot. For more information about how to obtain this key, access Uptime Robot API.

TODO

  • Current exporter is based on uptimerobot-go. This API is a little outdated and does not yet fully support v2. I created a fork adding some features. I have to eventually push my changes to the main repo and use it as dependency package.
  • Tests, tests, test. We need to add more tests.

For additional suggestions, please, use the Issues to report bugs or enhancements.