Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eze-kiel/uptimerobot-exporter
A Prometheus exporter for Uptime Robot metrics.
https://github.com/eze-kiel/uptimerobot-exporter
docker grafana kubernetes prometheus prometheus-exporter uptimerobot
Last synced: about 2 months ago
JSON representation
A Prometheus exporter for Uptime Robot metrics.
- Host: GitHub
- URL: https://github.com/eze-kiel/uptimerobot-exporter
- Owner: eze-kiel
- Created: 2021-07-07T09:10:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-17T09:25:31.000Z (about 3 years ago)
- Last Synced: 2024-10-18T09:15:01.287Z (3 months ago)
- Topics: docker, grafana, kubernetes, prometheus, prometheus-exporter, uptimerobot
- Language: Go
- Homepage:
- Size: 56.6 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Uptime Robot Exporter
A Prometheus exporter for Uptime Robot metrics.
## Getting started
You can either:
* download the sources and build the binary (Go required):
```
$ git clone https://github.com/eze-kiel/uptimerobot-exporter.git
$ cd uptimerobot-exporter/
$ make build
```and then execute the binary at `./out/bin/uptimerobot-exporter`
* get the latest release [here](https://github.com/eze-kiel/uptimerobot-exporter/releases)
## Usage
```
Usage of uptimerobot-exporter:
-api-key string
Uptime Robot API key
-inteval int
Uptime robot API scrape interval, in seconds (default 30)
-ip string
IP on which the Prometheus server will be binded (default "0.0.0.0")
-log-level string
Log level (default "info")
-p string
Port that will be used by the Prometheus server (default "9705")
```Basically, you just have to pass your Uptime Robot API key. Of course, to avoid typing it in the terminal, you can provide it via an environment variable called `UPTIMEROBOT_API_KEY`.
## Docker
To use it with Docker, you can either:
* build your own image with the given Dockerfile:
```
$ docker build . -t uptimerobot-exporter:latest
```* use the pre-built image (`ghcr.io/eze-kiel/uptimerobot-exporter:latest`).
In both cases, you have to provide the API key to run the container:
```
$ docker run -e UPTIMEROBOT_API_KEY=$(echo $UPTIMEROBOT_API_KEY) uptimerobot-exporter:latest
```## Kubernetes
You can find the associated Helm charts [here](https://github.com/devops-works/helm-charts/tree/master/uptimerobot). You need to change `uptimerobot.apiKey` in `values.yaml` to make it working, or overwrite it with Helmfile.
## License
MIT