ci(metrics): publish quality payload with Pushgateway PUT

This commit is contained in:
Brad Stein 2026-04-19 16:08:03 -03:00
parent 7f0d27288f
commit 12b3e14512

View File

@ -161,7 +161,7 @@ def _post_text(url: str, payload: str) -> None:
req = urllib.request.Request(
url,
data=payload.encode("utf-8"),
method="POST",
method="PUT",
headers={"Content-Type": "text/plain"},
)
with urllib.request.urlopen(req, timeout=10) as resp: