ci(metrics): replace suite payload in Pushgateway via PUT
This commit is contained in:
parent
26cc9333c7
commit
05b788c118
@ -77,7 +77,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