metricbeat/module/metricbeat: Implement connection reuse with a single long-lived MongoDB client
Open
enhancement
Stalled
Team:Obs-InfraObs
- Dominant language
- Go
- Stars
- 12.7k
- Forks
- 5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 364
Description
**Describe the enhancement:** Implement connection reuse with a single long-lived MongoDB client to minimize connection pile-up at lower intervals, eliminating the overhead of constant connection creation and destruction. While the current implementation works adequately for intervals of 30-60+ seconds, this approach will provide significantly better performance and reliability across all interval configurations.
**Describe a specific use case for the enhancement or feature:** It applies to all use-cases.
Contributor guide
Assessment
This issue has not been assessed yet.