-
Notifications
You must be signed in to change notification settings - Fork 31
Performance impact of refreshing each datastore info at every scrape #18
Comments
Hi, yes I have the same issue, need to find another way to refresh datastore. |
My scrape interval is 60 seconds and after my discovery yesterday I changed the timeout from 10s to 30s.
I'm also wondering if there's a good way to make the refresh not block the rest of the request. I don't really care if the capacity info is refreshed before the request is returned. I just need it to be refreshed on a regular basis. |
Hello, Exporter is getting vcenter (5.5\6.0.2) to refresh datastore information as a vcenter task each query cycle and flood the task viewer. i would suggest to remove ds.RefreshDatastoreStorageInfo() from vmware_exporter.py |
This issue was moved to pryorda/vmware_exporter#8 |
I've been running into an issue where one of my esxi hosts appears to be unreachable by the exporter.
I think what's actually happening is that the scrape is timing out.
The jump in scrape duration coincides with about the time that I deployed this code change #16
and it looks like I might be bumping up against my default 10 second timeout.
I've increased my timeout but I'm not sure if this is a great solution for everyone. Maybe the datastore refresh should be a configurable option.
The text was updated successfully, but these errors were encountered: