Comments (3)
Unfortunately, it's not possible. If you're talking about disk usage as df
command output, then it is not a disk usage. It is a filesystem usage, and it's not visible from the outside of a vm.
We're able to add any metric of what you see in virsh
command output.
from libvirt-exporter.
Yes I see.
Is it somehow possible with usage of virt-df command? It shows df output for vms
from libvirt-exporter.
Yep, it works, but it uses libguestfs. I don't know how it actually works, but at first glance it looks like read-only mount a filesystem from a virtual machine disk.
Add such functionality to libvirt-exporter means make it dependent on different tools with different context while still focus on libvirt instances and libvirtd daemon. It also overlaps responsibility zones. What I mean: libvirt-exporter works with libvirt and doesn't care what is going on inside the machines, it's not his job. For me it looks like a job for another tool, actually I don't think virt-df
is a good thing for production:)
If you are responsible for the operating system inside a virtual machine, then why don't you use node-exporter? If you want dashboards to be integrated with libvirt information (which is a really good way to work with dashboards!), then you can join on libvirt_domain_info_meta by (instance_name)
. Need some label replacing, but it is a good way:) Is this your case?
If you're not responsible for the VMs itself, then you don't care about filesystem usage.
from libvirt-exporter.
Related Issues (20)
- Cant Compile HOT 5
- Can`t compile HOT 2
- Build error HOT 8
- [BUG] error message an no metrics with blkiotune HOT 2
- [FEATURE] stealtime metrics :) HOT 2
- [FEATURE] - Get binary release for major platforms HOT 13
- Use specific version of docker image instead of latest version HOT 1
- [FEATURE] - Add end-to-end tests
- [FEATURE] add --version argument HOT 1
- grafana仪表盘太老 HOT 1
- [BUG] - Network statistics cannot be obtained when instances have multiple SRIOV ports HOT 2
- Is it possible to monitoring hypervisor stats with this exporter? HOT 1
- Some metric doesn't collected
- [BUG] Metrics for memory not working correctly HOT 3
- libvirt_up = 0 when one or more VM get qemuProcessReportLogError upon creation
- Extract IP address of instances
- [FEATURE] project_id label in libvirt_domain_info_meta metric
- Add block device IOPS and byte/s limit metric
- Don't scrape vcpu metrics when instance is in a wrong state HOT 1
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 libvirt-exporter.