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

Multiple Prometheus Client Outputs on Telegraf #693

Open
aliasboink opened this issue Dec 11, 2024 · 0 comments
Open

Multiple Prometheus Client Outputs on Telegraf #693

aliasboink opened this issue Dec 11, 2024 · 0 comments

Comments

@aliasboink
Copy link

Hello,

I have a requirement to have multiple prometheus_client outputs on telegraf.
The configuration is read properly, it works well and I can curl it from within the pod or from another pod.
The error is the following:

Failed sync attempt to : one or more objects failed to apply, reason: Service "telegraf" is invalid: [spec.ports[3].name: Duplicate value: "prometheus-client", spec.ports[4].name: Duplicate value: "prometheus-client"] (retried 5 times).

The issue is at the service level: https://github.com/influxdata/helm-charts/blob/master/charts/telegraf/templates/service.yaml#L96-L103

The only issue is with the service manifest, everything else works fine.
How can I proceed with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant