vector
vector copied to clipboard
New `data_dir_*` metrics to communicate data directory space availability and usage
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
A simple way to monitor Vector's data directory available space.
Attempted Solutions
Using the filesystem metrics from the host_metrics source is cumbersome since we do not know which volume the Vector data directory is mounted. Not only is this difficult and brittle to setup, but collecting filesystem metrics is high cardinality and overkill for the use case described above.
Proposal
Introduce 3 new metrics specific to Vector's data directory into the internal_metrics source:
data_directory_total_bytesdata_directory_available_bytesdata_directory_used_bytes
References
No response
Version
No response