elastic / rally

Macrobenchmarking framework for Elasticsearch
Apache License 2.0
37 stars 314 forks source link

Add http status to bulk request metrics #1867

Closed gareth-ellis closed 3 months ago

gareth-ellis commented 3 months ago

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....