- Go 1.22
- GNU Make
- Docker (optional)
- OPNsense Box with admin access
This guide is for osx and Linux.
SYSTEM>ACCESS>USERS>[user]>API KEYS
OPS_ADDRESS="ops.example.com" OPS_API_KEY=your-api-key OPS_API_SECRET=your-api-secret make local-run
- test it
curl http://localhost:8080/metrics
- Make sure to sync the vendor if the dependencies have changed.
make sync-vendor
- Make sure to run the tests and linters.
make test
make lint