Skip to content
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

Add a prometheus pushgateway input module #6418

Closed
IxDay opened this issue Sep 18, 2019 · 8 comments
Closed

Add a prometheus pushgateway input module #6418

IxDay opened this issue Sep 18, 2019 · 8 comments
Labels
area/prometheus feature request Requests for new plugin and for new features to existing plugins waiting for response waiting for response from contributor

Comments

@IxDay
Copy link

IxDay commented Sep 18, 2019

I am using telegraf on a box containing a bunch of services using prometheus metrics. I think it could be a good idea to aggregate all those metrics through telegraf before exposing them as a single http endpoint using the output prometheus.

Basically, I will use the push API from my services to target the telegraf pushgateway endpoint. This will avoid doing complex stuff as files or named pipes.

Looking at this comment it seems that I am not the only one trying to achieve this.

Thoughts?

@danielnelson
Copy link
Contributor

This is a good idea, but there are a few things in flight for prometheus that need to be coordinated. I need to finish #3670 so that we can merge #5767, at that point we can create the Prometheus parser as mentioned in #4414 (perhaps we would need two parsers, one for text and one for protobuf).

After all this it should be fairly easy to add a pushgateway input.

@danielnelson danielnelson added feature request Requests for new plugin and for new features to existing plugins area/prometheus labels Sep 18, 2019
@lee3164
Copy link
Contributor

lee3164 commented Jan 2, 2020

What's going on with this issue?

@danielnelson
Copy link
Contributor

I think the next step is to extract the parser from the prometheus input into a standalone Parser.

@kushwiz
Copy link

kushwiz commented May 5, 2021

Any updates here?

@pgmillon
Copy link

I think this has been handled with #7778

@Catbuttes
Copy link

I think this has been handled with #7778

I don't believe it has been handled. Attempting to use Telegraf as a replacement for Pushgateway with anything other than extremely simple metric definitions fails with 404 errors due to the way Pushgateway handles labels.

@srebhan
Copy link
Member

srebhan commented Apr 3, 2024

Is anyone still interested in this feature?

@srebhan srebhan added the waiting for response waiting for response from contributor label Apr 3, 2024
@telegraf-tiger
Copy link
Contributor

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prometheus feature request Requests for new plugin and for new features to existing plugins waiting for response waiting for response from contributor
Projects
None yet
Development

No branches or pull requests

7 participants