A quick and dirty vibed repo to generate telemetry to a server, and also UDP so one can easily watch activity in realtime and search/slice/dice this data.
client generating UDP telemetry --
\
--- fluent-bit - > loki -> grafana
/
client generating HTTP telemetry -
sudo docker compose up
You need to change the IP addresses in the app, otherwise, it doesn't work. I fixed the security so it wouldn't block lan connections. Don't use this for anything other than testing.
Send in data either by curl: curl -X POST http://localhost:9000 -H "Content-Type: application/json" -d '{"message":"hello","counter":1,"timestamp":123}'
Or UDP echo "123,42,hello world" | nc -u -w0 localhost 9001
Or in iOS app: just build it and run it because 🐲🦀🍕
Example of Looking at data in Grafana:
was tested on nixos on a lan exposed by tailscale but local network lan is open.