elastic / elastic/apm-server

Explore using more Elasticsearch response codes to pause or stop model indexer autoscaling

Open
#9,511 0 comments 0 reactions 0 assignees View on GitHub
8.7-candidate enhancement
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

As a follow up from #9463, it was suggested we may want to explore more HTTP response codes from Elasticsearch as a way to limit or stop autoscaling actions from taking place (or downscaling actions to be triggered).

Some other status codes we may consider is looking for 499 (client timeouts?), 502 and 503. All these may signal that Elasticsearch isn't fully responsive and that autoscaling should be paused if a certain rate is exceeded.

We're not collecting any of these metrics already in the model indexer stats and they would incur a slight storage cost.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.