Comments (4)
Hi,
yes I have the same issue, need to find another way to refresh datastore.
from vmware_exporter.
My scrape interval is 60 seconds and after my discovery yesterday I changed the timeout from 10s to 30s.
Interestingly the average scrape duration also improved from around 3.5 seconds to 2.5 seconds after the change. My guess is that this has something to do with request blocking.
In the graph above the 1 node with a significantly higher scrape duration has 2 iscsi datastores instead of 1 so my guess is that the refresh duration increases with every datastore that is attached.
There's also the RefreshDatastore() method https://github.com/vmware/pyvmomi/blob/master/docs/vim/Datastore.rst maybe this is faster. This is not supported on the free esxi license. I got a 'Current license or ESXi version prohibits execution of the requested operation.',
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.
from vmware_exporter.
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
from vmware_exporter.
This issue was moved to pryorda/vmware_exporter#8
from vmware_exporter.
Related Issues (20)
- Rename config values
- Send 500 status code when error connecting to host HOT 2
- add host network metrics HOT 1
- Prometheus erro HOT 24
- Metrics gathering blocks if connection is timing out HOT 7
- add exporter runtime metrics HOT 1
- exporter is refreshing vcenter datastore states every one minutes HOT 2
- The response time is too long HOT 5
- Need /healthz endpoint(s) HOT 1
- [Feature Request] Add Host Hardware Information HOT 1
- Limit metrics to be collected HOT 1
- Add "cluster" label for hosts, vms and datastores HOT 10
- Unclear values for vmware_vm_cpu_usage_average metric HOT 3
- vmware_vm_cpu_ready_summation is not very useful without the number of vCPUs on the VM HOT 2
- Python 3 support HOT 1
- Getting Alarm Info HOT 1
- exceptions.TypeError: a float is required HOT 1
- Transfer ownership HOT 2
- connection to vcenter lost HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmware_exporter.