Skip to content

✨ darkone.service.loki

Loki + Alloy, http stats with grafana.

  • enable bool Deploys the Loki server + Grafana datasource (colocated with Grafana).
  • isClient bool Deploys Alloy to collect local Caddy access logs.
  • retentionTime str Log retention duration in Loki (30 days by default).
darkone.service.loki = {
enable = config.darkone.service.monitoring.enable;
isClient = config.services.caddy.enable && hasMonitoringHost;
retentionTime = "720h";
};

Source: modules/service/loki.nix 🡕