Closed kaisecheng closed 1 year ago
The updates handle custom_headers
with an invalid version. The healthcheck!
do two requests in the register phase. 1. health check request 2. fetch the info from main endpoint /
. The second request is needed to get the failure reason as the first gives empty body.
The commits add response_body to log if data exists.
I have two thoughts on handling the failures
ConfigurationError
is raised in finish_register()
, the pipeline should stop. summary: we decided to add a get "/" request in healthcheck!
in register phase to make sure the first health check would fail when the header is invalid
This commit adds "Elastic-Api-Version" : "2023-10-31" to request header when the Elasticsearch is serverless Rename "flavour" to "flavor"