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

https://github.com/screenly/balena-prometheus-exporter

Prometheus metric exporter for Balena
https://github.com/screenly/balena-prometheus-exporter

balena iot prometheus

Last synced: 2 months ago
JSON representation

Prometheus metric exporter for Balena

Awesome Lists containing this project

README

        

# Balena Prometheus Exporter

A simple script that pulls down Balena metrics from the API and exposes it in Prometheus format.

## Usage

```bash
$ docker build -t balena-exporter .
$ docker run -d \
--name balena-exporter \
-p 8000:8000 \
-e BALENA_TOKEN= \
balena-exporter
```

You should now be `curl` port 8000 to verify the result.

There's also an optional environment variable for `CRAWL_INTERVAL`, which is set to 60s by default.