Explain how to add tenant
This commit is contained in:
parent
395e7a8b43
commit
ea359452b0
7 changed files with 39 additions and 11 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Reference in a new issue