platform/ws-tests/profile-download.sh
Andrey Sobolev 58eb205688
use redpanda queue (#8291)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-03-22 13:55:46 +05:00

6 lines
287 B
Bash
Executable File

echo "Downloading profile"
token=$(./tool.sh generate-token --admin anticrm@hc.engineering sanity-ws)
current=$(date +%Y%m%d%H%M%S)
mkdir -p ./profiles
curl -X PUT "http://huly.local:3334/api/v1/manage?token=${token}&operation=profile-stop" -o "./profiles/profile-${current}".cpuprofile