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

Telegraf pushes to Prometheus? #6147

Closed
brightzheng100 opened this issue Jul 22, 2019 · 1 comment
Closed

Telegraf pushes to Prometheus? #6147

brightzheng100 opened this issue Jul 22, 2019 · 1 comment
Labels
area/prometheus feature request Requests for new plugin and for new features to existing plugins

Comments

@brightzheng100
Copy link

Feature Request

Prometheus follows pull model but it provides PushGateway. While looking through the output plugins, I'm not sure which one is suitable to make it push-able from Telegraf output to Prometheus (through PushGateway)?
Maybe just need some more docs or a new feature request for that?

Proposal:

Telegraf output plugin -> Prometheus PushGateway?

Current behavior:

Currently, it's very convenient to use prometheus client output plugin to expose /metrics endpoint(s) for Prometheus Server to pull.
But exposing endpoints may not always be valid and push model might be more feasible, in some cases (e.g. in NAT topology).

Desired behavior:

We can simply enable an output plugin to push to PushGateway

Use case:

In NAT topology, using SNAT to access external world, including the independent multi-cluster Monitoring Control Plane is common. So we need to aggregate metrics by exposing one single entry point which, in Prometheus world, might be PushGateway.

@GeorgeMac GeorgeMac added area/prometheus feature request Requests for new plugin and for new features to existing plugins labels Jul 22, 2019
@danielnelson
Copy link
Contributor

I think this issue would be addressed by adding the Prometheus serializer and pairing it with the http output. I'm going to close this issue and we have an issue open for the serializer in #4414.

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
Projects
None yet
Development

No branches or pull requests

3 participants