vsphere_exporter
vsphere_exporter copied to clipboard
Best Way to Only Query Certain Metric Types?
Right now it takes about 20 seconds for our VSphere server to respond with all the metrics -- the thing is we don't need 90% of the metrics reported.
I've been tinkering with making changes myself, but I'm pretty hobbled by not understanding the vsphere API very well.
Any suggestions? So far I've been looking pretty closely to the SampleByName
function, but I'm kind of uncertain what my ManagedObject
list should be made up of.
As a quick hack, I implemented a small "ignore prefix" function and removed the always identical entity-label: