Fix and reformat several queries

This commit is contained in:
2025-06-18 03:03:34 -04:00
parent 4fba81dc2c
commit b7f731c6ac
4 changed files with 192 additions and 21 deletions

View File

@@ -655,6 +655,7 @@ def test_queries():
for name, metric in config["metrics"].items():
# If the metric has arguments to use while testing, grab those
args = metric.get("test_args", {})
print("Testing {} [{}]".format(name, ", ".join(["{}={}".format(key, value) for key, value in args.items()])))
# Run the query without the ability to retry.
try:
res = sample_metric(dbname, name, args, retry=False)