Explain how to add tenant

This commit is contained in:
Jarne Clauw 2025-12-19 19:53:45 +01:00
parent 395e7a8b43
commit ea359452b0
7 changed files with 39 additions and 11 deletions

View file

@ -2,7 +2,7 @@
while true; do
mem_used=$(free -m | grep 'Mem' | awk '{print $3}')
curl -X POST http://localhost:8080/api/v1/0dz8qhj68h7hqgvasoam/telemetry --header Content-Type:application/json --data "{mem_used:$mem_used}"
curl -s -X POST http://localhost:8080/api/v1/$KEY/telemetry --header Content-Type:application/json --data "{mem_used:$mem_used}"
sleep 1
done