This is a Prometheus/OpenMetrics exporter for Tempest weather stations.
This tool listens for Tempest UDP broadcasts and forwards metrics to a Prometheus push gateway.
Container images are available at Docker Hub and GitHub container registry.
$ docker run -it --rm --net=host \
-e PUSH_URL=http://victoriametrics:8429/api/v1/import/prometheus \
willglynn/tempest_exporter
# or
$ docker run -it --rm --net=host \
-e PUSH_URL=http://victoriametrics:8429/api/v1/import/prometheus \
ghcr.io/willglynn/tempest_exporter
2023/07/06 20:18:55 pushing to "0.0.0.0" with job name "tempest"
2023/07/06 20:18:55 listening on UDP :50222
Note that --net=host
is used here because UDP broadcasts are link-local and therefore cannot be received from typical
(routed) container networks.
Minimal, via environment variables:
PUSH_URL
: the URL of the Prometheus pushgateway or other compatible serviceJOB_NAME
: the value for thejob
label, defaulting to"tempest"
This works for me and my Tempest setup. Feel free to open pull requests with proposed changes.