Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

A simple server to receive metrics from a Pimorini Enviro board and present them to Prometheus

Notifications You must be signed in to change notification settings

mscottco/enviro-to-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enviro-to-prometheus

An attempt at a HTTP server that will receive post files from an Enviro board and cache them for reading by a Prometheus server.

Environmental Variables

  • ttl: The time the variables will be pushed to the Prometheus server. Defaults to 15 minutes

Configuration

A docker image is provided at mscottco/enviro-to-prometheus. You can use it by running something like:

docker run -p 8080:8080 -e ttl=15 -d mscottco/enviro-to-prometheus

Configure your enviro board to send metrics to:

http://[your ip address]:8080/endpoint

And configure your Prometheus server to scrape from:

http://[your ip address]:8080/metrics

About

A simple server to receive metrics from a Pimorini Enviro board and present them to Prometheus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages