Export Emporia Vue data into VictoriaMetrics.
Build from source or go install sgrankin.dev/vuescrape@latest
.
vuescrap -dest=host:part
The destination host is expected to be VictoriaMetrics:
- prometheus query routes are used to find the timestamp of the last written sample (for incremental updates).
- victoria metrics raw JSON import is used to push data.
Run as a cron job every 10-60 minutes to avoid overwhelming the Vue servers. See this issue for discussion.