Skip to content
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

Expose disk usage metrics #9363

Open
StianOvrevage opened this issue May 2, 2023 · 1 comment
Open

Expose disk usage metrics #9363

StianOvrevage opened this issue May 2, 2023 · 1 comment

Comments

@StianOvrevage
Copy link

Is your feature request related to a problem? Please describe.

We just set up loki. How do we know if we have enough disk space allocated for the various components? How do we monitor (and possibly alert) when we should increase disk sizes?

Describe the solution you'd like

Loki exposes metrics on total, available and used bytes and inodes on it's data volumes.

Describe alternatives you've considered

Get disk utilization metrics for Persistent Volumes directly from K8s, but that has not been possible for a few years now: google/cadvisor#1702

View disk usage in Azure, but that is not possible either.

Run kubectl exec -n loki grafana-loki-loki-distributed-ingester-0 df manually every day and plot the results in a spreadsheet? But oh lord plz let us avoid this.

@bboreham
Copy link
Contributor

On my Kubernetes I have metrics like kubelet_volume_stats_used_bytes, kubelet_volume_stats_inodes, etc.

@JStickler JStickler added type/feature Something new we should do and removed type/feature Something new we should do labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants