elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.14k stars 4.91k forks source link

Refactor Beat instantiation and setup #40659

Open leehinman opened 2 weeks ago

leehinman commented 2 weeks ago

createBeater and configure do most of the work setting up a Beat.

These functions do things that prevent using these functions to instatiate multiple beats within the same process.

This needs to be refactored so multiple Beats can be started in the same process without conflicts or overwriting registries.

elasticmachine commented 2 weeks ago

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)