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 /ping endpoint for compatibility with telegraf/influxdb endpoints #29594
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
When I tried to activate the influxdbreceiver as a sink for checkmk, I encountered the same message.
I have added the |
@jve-engineering LGTM! |
Removing the |
…tibility (#29662) **Description:** This PR supplements the receiver `influxdbreceiver` with an implementation of the `/ping` [endpoint](https://docs.influxdata.com/influxdb/v2/api/#operation/GetPing). Various third-party applications use this to check the availability of the receiver before sending metrics, e.g. checkmk. **Link to tracking Issue:** #29594 **Testing:** Basic tests and end to end testing with the third party application [checkmk](https://docs.checkmk.com/latest/en/metrics_exporter.html). **Documentation:** No additional documentation has been added. - The user does not interact directly with this endpoint. - There are no configuration options.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I believe this was fixed by #29662 |
Component(s)
receiver/influxdb
Is your feature request related to a problem? Please describe.
Some third party apps utilize a /ping endpoint which is available on telegraf/influxdb and will bail out on sending data when it gets an unexpected ping response (currently for the otel-contrib influxdb receiver it returns 404)
Describe the solution you'd like
Add the
/ping
to the opentelemetry plugin as an endpoint and have it return 204.An example curl of telegraf:
Describe alternatives you've considered
I tried setting a proxy in front of the endpoint to catch the /ping and return the 204 but it's convoluted to add and support a whole proxy service in an attempt to emulate the native behaviour of a the native telegraf/influxdb rpc
Additional context
No response
The text was updated successfully, but these errors were encountered: