Tiny exporter is a lightweight RESTful API for collecting metrics that can be exported to Prometheus.
It supports storing gauge, counter, and histogram metrics with labels.
- A metrics collection and export agent for IoT devices
- A sidecar to an app that wants to collect metrics
- A lightweight metrics agent and exporter for a k8s cluster
The easiest way to use this is with the Docker image at mdouglas/tiny-exporter.
docker run -d -p 5000:9800 mdouglas/tiny-exporter:latest
For local development or to run it yourself, it's simply a Flask app. Run it with:
FLASK_APP=api flask run
Documentation can be found at the wiki.
See LICENSE