-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation is not clear on how you connect to the gateway from a push client #80
Comments
The docs make a quick mention here to send metrics to The "lifecycle server" only exists to give kubernetes a place to send probes to, and expose internal metrics. The metrics exposed by the lifecycle server describe the health and activity of the gateway itself, as opposed to metrics that are forwarded by and aggregated for the gateway's clients. |
Thanks for the reply,
Thanks again. |
You're using the prometheus pushgateway there, not prom-aggregation-gateway. Theirs requires that your path includes a job parameter first:
|
I started the container with the following command line
This maps the two ports it uses by default to the host. Docker logs say:
The readme says to use one of the stand standard clients. I tried the python one.
This page has the following example of how to push metrics.
I tired adjusting this client code to use each of the two ports that appeared in the log for
prom-aggregation-gateway
(80
&8888
) and both of them get the same 404 error.For reference here is the help message I get from the container:
There is no mention here or in the
readme
on what the two ports are but if I were to take a guess I think the second one above--lifecycleListen string
is the one I should be using since it mentions metrics.Please help.
The text was updated successfully, but these errors were encountered: