Push data via UDP (port 8080).
Pull pushed data via GET /metrics
(port 9090)
This is just a proof of concept atm!
go mod download # get the dependencies
go build -o bin/datacollector
bin/datacollector
nc -u 127.0.0.1 8080
curl 127.0.0.1:9090/metrics