staging: Monitor svix.internal.staging
Related to swh/infra/sysadm-environment#5105 (closed)
When I check the URL used by svix
application in the test cluster with curl
, I noticed that this URL is redirected:
~ ᐅ grep url .config/svix/config.toml
server_url = "https://svix-test.internal.staging.swh.network"
~ ᐅ curl -sI https://svix-test.internal.staging.swh.network | awk 'NR==1'
HTTP/2 307
~ ᐅ curl -sI https://svix-test.internal.staging.swh.network/docs | awk 'NR==1'
HTTP/2 200
The blackbox exporter module is called http_2xx
so I use the \docs URL which returns a 200 status code.