Prometheus exporter for sfptpd
A simple dashboard is available to import into Grafana from the sfptpd-exporter Grafana JSON file.
Install sfptpd-exporter
from the apt/yum repo or build with go build
$ sfptpd-exporter
INFO[0000] Starting sfptpd-exporter version dev stats from /tmp/sfptpd_stats.jsonl
INFO[0000] Starting metrics exporter on :9979/metrics
docker run -p 9978:9978 ghcr.io/natesales/sfptpd-exporter
Usage of ./sfptpd-exporter:
-f string
sfptpd stats JSONL file (default "/tmp/sfptpd_stats.jsonl")
-l string
metrics listen address (default ":9979")
-v Enable verbose logging
-vv
Enable extra verbose logging