8000 Fix path of pushgateway · Syncano/client_python@5b1519c · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b1519c

Browse files
committed
Fix path of pushgateway
1 parent 0e8a299 commit 5b1519c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus_client/exposition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def delete_from_gateway(gateway, job, grouping_key=None, timeout=None):
105105

106106

107107
def _use_gateway(method, gateway, job, registry, grouping_key, timeout):
108-
url = 'http://{0}/job/{1}'.format(gateway, quote_plus(job))
108+
url = 'http://{0}/metrics/job/{1}'.format(gateway, quote_plus(job))
109109

110110
data = b''
111111
if method != 'DELETE':

0 commit comments

Comments
 (0)
0