Adapt workadventure i3block to new api response layout
This commit is contained in:
parent
b29423f7f8
commit
ec2c6698f9
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
curl -s https://api.fachschaft-it.de/metrics | grep -Ei ".*clients.*floor[0-9]" | awk '{printf "%d ", $2}' | awk '{sub(/\|$/,"");print}'
|
||||
curl -s https://api.fachschaft-it.de/metrics | grep "workadventure_nb_clients_per_room{" | awk '{printf "%d ", $2}' | awk '{sub(/\|$/,"");print}'
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue