prometheus_push_gateway_php
prometheus_push_gateway_php copied to clipboard
how to config url prefix?
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 ?
Hey @caibirdme,
this is quite simple :)
new PushGateway("a.b.c.d:1234/foo/bar")