-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host metrics not including filesystem when specifying /
as mount point
#21203
Comments
Thanks for this report! As a workaround you could collect metrics for all mount points and then filter afterwards with a Can you share more details about the environment Vector is running in? I tried to reproduce on MacOS but I wasn't able to. I used this config: sources:
source0:
collectors:
- cpu
- filesystem
- memory
- network
namespace: host
scrape_interval_secs: 1
type: host_metrics
filesystem:
mountpoints:
includes: ["/"]
sinks:
sink0:
inputs:
- source0
type: console
encoding:
codec: json And I saw:
|
I also tried on an Ubuntu 20.04 system and it worked fine too:
🤔 I think more details about your environment would be helpful like OS version. |
Thanks for looking into this. My host uses kata containers. The filesystem documentation is here: https://github.com/kata-containers/documentation/blob/master/how-to/how-to-use-virtio-fs-with-kata.md This is the results of
The container is based on ubuntu 22.
|
A note for the community
Problem
My vector seems to have an issue when I specify the mount point to be
/
. The host metrics appear for the filesystem when I specify*
instead.So in the working case (specifying
*
), it looks like this:In the broken case there are no
host_filesystem_free_bytes
metrics.Configuration
Version
0.40.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
This is the only thing that seemed relevant: #6923
The text was updated successfully, but these errors were encountered: