I’m trying to get runtime information with /varz on an agent and was wondering how can I do this?
Some info on what I’ve tried so far:
To get /healthz I did:
docker exec < agent-container-id > drone-agent ping
And to get /version I did:
docker exec < agent-container-id > drone-agent -v
Sorry for the daft question, I’ve worked it out.
If it helps anyone, I got the agent container ip with docker inspect then used:
This works for the other endpoints