ci(metrics): publish quality payload with Pushgateway PUT
This commit is contained in:
parent
7f0d27288f
commit
12b3e14512
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user