Sign inSign up

willglynn/tempest_exporter

By willglynn

•Updated over 2 years ago

Prometheus exporter for Tempest weather stations

Image
0

1.4K

willglynn/tempest_exporter repository overview

⁠tempest_exporter source

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.

⁠Quickstart

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.

⁠Exporter configuration

Minimal, via environment variables:

⁠Status

This works for me and my Tempest setup. Feel free to open pull requests with proposed changes.

Tag summary

Content type

Image

Digest

sha256:8742b8acb…

Size

3.1 MB

Last updated

over 2 years ago

docker pull willglynn/tempest_exporter:sha-e295837