vector icon indicating copy to clipboard operation
vector copied to clipboard

New `data_dir_*` metrics to communicate data directory space availability and usage

Open binarylogic opened this issue 3 years ago • 0 comments

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:

  1. data_directory_total_bytes
  2. data_directory_available_bytes
  3. data_directory_used_bytes

References

No response

Version

No response

binarylogic avatar Sep 08 '22 14:09 binarylogic