Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Best Way to Only Query Certain Metric Types? #12

Open
gmcquillan opened this issue Aug 3, 2017 · 1 comment
Open

Best Way to Only Query Certain Metric Types? #12

gmcquillan opened this issue Aug 3, 2017 · 1 comment

Comments

@gmcquillan
Copy link

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.

@doppelgrau
Copy link

doppelgrau commented Apr 11, 2018

As a quick hack, I implemented a small "ignore prefix" function and removed the always identical entity-label:

quickfix.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants