Sign inSign up

mdouglas/tiny-exporter

By mdouglas

•Updated about 4 years ago

A lightweight RESTful API for collecting metrics that can be exported to Prometheus

Image
0

1.0K

mdouglas/tiny-exporter repository overview

⁠tiny-exporter

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.

⁠Example Uses

  • 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

⁠Running

The easiest way to use this is with the Docker image at mdouglas/tiny-exporter⁠.

⁠Running with Docker
docker run -d -p 5000:9800 mdouglas/tiny-exporter:latest
⁠Local Development / Running Manually

For local development or to run it yourself, it's simply a Flask⁠ app. Run it with:

FLASK_APP=api flask run

⁠Documentation

Documentation coming soon.

⁠License

See LICENSE⁠

Tag summary

Content type

Image

Digest

Size

38 MB

Last updated

about 4 years ago

docker pull mdouglas/tiny-exporter