prometheus_push_gateway_php icon indicating copy to clipboard operation
prometheus_push_gateway_php copied to clipboard

how to config url prefix?

Open caibirdme opened this issue 3 years ago • 1 comments
trafficstars

Our pushgateway endpoint is something like a.b.c.d:1234/foo/bar/metrics/job/<xxx> So how to add the /foo/bar prefix ?

caibirdme avatar Oct 27 '22 07:10 caibirdme

Hey @caibirdme,

this is quite simple :)


new PushGateway("a.b.c.d:1234/foo/bar")

LKaemmerling avatar Nov 08 '22 08:11 LKaemmerling