sgrankin / vuescrape

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export Emporia Vue data into VictoriaMetrics.

Install

Build from source or go install sgrankin.dev/vuescrape@latest.

Run

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.

References

About

License:GNU Affero General Public License v3.0


Languages

Language:Go 100.0%