ci(metrics): publish quality payload with Pushgateway PUT
This commit is contained in:
parent
77376ee009
commit
4ca9866c10
@ -144,7 +144,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