jensschulze / datacollector

Super simple Prometheus UDP data collector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

datacollector

Push data via UDP (port 8080). Pull pushed data via GET /metrics (port 9090)

This is just a proof of concept atm!

Build

go mod download # get the dependencies
go build -o bin/datacollector

Example

Run datacollector

bin/datacollector

Send stuff via UDP

nc -u 127.0.0.1 8080

Get the stuff

curl 127.0.0.1:9090/metrics

About

Super simple Prometheus UDP data collector

License:Apache License 2.0


Languages

Language:Go 100.0%