Skip to content
Snippets Groups Projects
Unverified Commit 2447c662 authored by Varac's avatar Varac
Browse files

Display URL in prometheus test

parent 5fbbd88b
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ def test_prometheus_alerts(host):
domain = ansible_vars["domain"]
print(f"Using domain {domain} from ansible inventory.")
url = f'https://prometheus.{domain}/api/v1/alerts'
print(f'Querying {url}')
basic_auth_pw = os.environ.get("BASIC_AUTH_PW")
assert basic_auth_pw, 'Please export BASIC_AUTH_PW env var!'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment