# Loki and Alloy Loki log storage and Alloy collection, both deployed through Helm. The deploy library lists separate `loki` and `alloy` releases in `prometheus`, controlled by this directory's `k8s/active` marker. Chart versions are pinned in `deploy-lib.sh`; settings live in `loki-values.yaml` and `alloy-values.yaml`. Alloy collects Kubernetes logs. Grafana's Loki datasource is configured in the monitoring stack. Review Loki retention and storage settings before enabling collection on a new cluster. Check releases with `helm list -n prometheus` and inspect collector logs before assuming that an empty Grafana query means there were no events. See the [repository README](../README.md) for deployment selection.