ci(metrics): use Pushgateway PUT for suite metric updates
This commit is contained in:
parent
beccdc3959
commit
debb49e842
@ -130,7 +130,7 @@ def publish_quality_metrics(
|
||||
req = urllib.request.Request(
|
||||
f"{gateway}/metrics/job/{job}/suite/{suite}",
|
||||
data=payload.encode("utf-8"),
|
||||
method="POST",
|
||||
method="PUT",
|
||||
headers={"Content-Type": "text/plain"},
|
||||
)
|
||||
urllib.request.urlopen(req, timeout=10).read()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user