-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Component(s)
receiver/vcenter
Is your feature request related to a problem? Please describe.
I'm lead to believe that larger environments have a harder time using the receiver due to the large number of requests that need to be made.
For larger environments the amount of requests can show how the current synchronous code has some room for improvement. I think once we scaled up it was pretty evident that we were bottlenecking on requests, particularly for VMs.
Describe the solution you'd like
From my recollection I don't think that the MetricsBuilder maintains some state that prevented easy parallelization, however we could parallelize/batch the requests to get better performance.
The tooling mitmproxy really helped us identify the issue as the massive number of requests made individually were stacking up to be quite a time sink.
Describe alternatives you've considered
No response
Additional context
For an environment of 2000 VMs it was taking sometimes minutes to complete a collection, based off of early experiments, hoping to cut it down to a collection interval of seconds.