【发布时间】:2021-10-12 19:13:38
【问题描述】:
如何通过prometheus查询计算grafana loki使用的存储空间?是否有特定的指标来监控这一点?
我使用 HELM 图表来安装 loki 作为 helm 图表,因此它会写入节点的存储。我猜它正在使用 boltdb-shipper。
helm repo add grafana https://grafana.github.io/helm-charts
helm repo update
helm upgrade --install promtail grafana/promtail \
--create-namespace \
--namespace monitoring \
--values cluster/production/charts/loki/values.promtail.yaml
helm upgrade --install loki grafana/loki \
--create-namespace \
--namespace monitoring \
--values cluster/production/charts/loki/values.loki.yaml
【问题讨论】:
标签: prometheus grafana grafana-loki