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

[exporter/splunkhec] Support partial resends #36113

Open
atoulme opened this issue Oct 31, 2024 · 2 comments
Open

[exporter/splunkhec] Support partial resends #36113

atoulme opened this issue Oct 31, 2024 · 2 comments
Labels

Comments

@atoulme
Copy link
Contributor

atoulme commented Oct 31, 2024

Component(s)

exporter/splunkhec

Is your feature request related to a problem? Please describe.

The splunk_hec exporter doesn't support partial acceptance of records sent to the backend. The Splunk backend can offer information on how many events it was able to process before sending an error. A typical HTTP response body is:

{"text":"Server is busy","code":9,"invalid-event-number":10}

The invalid-event-number key indicates when the payload processing stopped, for example 10 means that it stopped on the 10th one, and we can try resending by dropping the first 9 events.

Describe the solution you'd like

Implement support to read the response, even on 503, and make sure to drop events if possible based on the feedback from the server.

Describe alternatives you've considered

No response

Additional context

No response

@atoulme atoulme added enhancement New feature or request needs triage New item requiring triage labels Oct 31, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@atoulme atoulme removed the needs triage New item requiring triage label Nov 2, 2024
Copy link
Contributor

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 @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant