-
Notifications
You must be signed in to change notification settings - Fork 474
checkpoint_harmony_endpoint: improve handling of API errors #13333
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
checkpoint_harmony_endpoint: improve handling of API errors #13333
Conversation
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
🚀 Benchmarks reportTo see the full report comment with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 404 changes look good.
For the generic error handling changes, is it intentional that the time advances? It seems like it should also repeat.
@chrisberkhout, yes, that makes sense I think. I've trying to get some troubleshooting advices from the API docs but unfortunately there's nothing there. Do you think it would be worthy to merge both 404 and generic cases by setting |
Yes, good idea! |
💚 Build Succeeded
History
|
|
Package checkpoint_harmony_endpoint - 0.6.0 containing this change is available at https://epr.elastic.co/package/checkpoint_harmony_endpoint/0.6.0/ |
In the generic error handling (including 404 error), clear task ID and page token if any, and reset the sequence for the same timeframe, to avoid getting stuck making requests with stale parameters.
In the generic error handling (including 404 error), clear task ID and page token if any, and reset the sequence for the same timeframe, to avoid getting stuck making requests with stale parameters.
In the generic error handling (including 404 error), clear task ID and page token if any, and reset the sequence for the same timeframe, to avoid getting stuck making requests with stale parameters.
Proposed commit message
Note
All data streams have identical
cel.yml.hbs
files.Checklist
changelog.yml
file.