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 http status to bulk request metrics #1867

Closed
wants to merge 2 commits into from

Conversation

gareth-ellis
Copy link
Member

We weren't previously reporting on the http status for Bulk requests. Whilst it can be read in the meta.error-description field, it makes it easier to have it in the meta.http-status field.

I am collecting the status from the meta property in the ApiResponse object we get back from Elasticsearch, then if there are errors encountered I take the highest error in the block. At the moment I haven't yet seen a response with different errors, however just in case....

@gareth-ellis gareth-ellis requested a review from a team July 26, 2024 12:09
@gareth-ellis gareth-ellis added this to the 2.x milestone Jul 26, 2024
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

Successfully merging this pull request may close these issues.

1 participant