Skip to content

simonkrenger/obloc-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

O'Bloc Prometheus Exporter

Small Golang program to export the current O'Bloc utilization for Prometheus.

$ podman run --rm -d -p 8081:8081 quay.io/simonkrenger/obloc-exporter:latest
$ curl localhost:8081/metrics
...
# HELP obloc_utilization_percent The current O'Bloc utilization
# TYPE obloc_utilization_percent gauge
obloc_utilization_percent 56

Why?

O'Bloc is a climbing gym in Bern, Switzerland and they measure how many people are in the gym at a given time. They publish this information on their website.

This project exports this information as a Prometheus Exporter so it can be queried by Prometheus.