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 handling of /health endpoint support to inputs.influxdb_v2_listener #16321

Open
andrasg opened this issue Dec 17, 2024 · 0 comments
Open
Labels
feature request Requests for new plugin and for new features to existing plugins

Comments

@andrasg
Copy link

andrasg commented Dec 17, 2024

Use Case

I am trying to create a telegraf inputs.influxdb_v2_listener to receive metrics from Proxmox. I am unable to do so, as Proxmox considers the target unhealthy due to receiving 404 not found when calling the /health endpoint.

See influx API docs: https://docs.influxdata.com/influxdb/v2/api/#operation/GetHealth

The input plugin already serves a /ready endpoint: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/influxdb_v2_listener/influxdb_v2_listener.go#L225

Expected behavior

inputs.influxdb_v2_listener plugin should respond with 200 OK to the /health endpoint when healthy.

Actual behavior

inputs.influxdb_v2_listener plugin responds with 404 not found when accessing the /health endpoint.

Additional info

No response

@andrasg andrasg added the feature request Requests for new plugin and for new features to existing plugins label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

1 participant