You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The push methods require a jobName and POST/PUT to the endpoint /metrics/job/<jobName>. This makes it incompatible with Gravel Gateway (https://github.com/sinkingpoint/prometheus-gravel-gateway), possibly other gateways that don't expose this endpoint.
Perhaps it would be appropriate to not require the jobName, and simply push to /metrics if it is not supplied? Or, implement some kind of override. I'd be happy to make a PR if we can agree on the appropriate interface.
The text was updated successfully, but these errors were encountered:
Hello 👋🏼 Any updates on that? At my company we have just faced the same challenge and for us it is necessary to be able to override the target endpoint.
The push methods require a
jobName
and POST/PUT to the endpoint/metrics/job/<jobName>
. This makes it incompatible with Gravel Gateway (https://github.com/sinkingpoint/prometheus-gravel-gateway), possibly other gateways that don't expose this endpoint.Perhaps it would be appropriate to not require the jobName, and simply push to
/metrics
if it is not supplied? Or, implement some kind of override. I'd be happy to make a PR if we can agree on the appropriate interface.The text was updated successfully, but these errors were encountered: