Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Explore an autoscaling Elasticsearch output based on the APM Server autoscaling work #175

Open
Tracked by #16
cmacknz opened this issue Nov 10, 2022 · 3 comments
Open
Tracked by #16
Assignees
Labels
8.8-candidate Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Nov 10, 2022

APM Server now has an autoscaling Elasticsearch output (specialized to the APM data model). We should explore porting their implementation into the shipper with the goal of eliminating the need to manually tune the number of workers and the output batch size.

The initial APM autoscaling implementation was done in elastic/apm-server#9393 and linked to the following tracking issues:

When we begin this work we should sync with the APM Server team to come up to speed on the latest state of their autoscaling implementation.

@pierrehilbert
Copy link
Contributor

@cmacknz & @leehinman: what would be the expected outcome of this one?

@cmacknz
Copy link
Member Author

cmacknz commented Feb 28, 2023

A proof of concept of an autoscaling Elasticsearch output based on the work the APM team has done.

The ideal outcome is a demo showing that more Elasticsearch output workers are created as the rate of shipper data ingestion increases, with the number of workers then decreasing as the data ingestion rate decreases.

@cmacknz
Copy link
Member Author

cmacknz commented Mar 20, 2023

The Elasticsearch output used by APM server has been moved into a separate package: https://github.com/elastic/go-docappender

We should explore if we can just reuse this directly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
8.8-candidate Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

3 participants