My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove immich from grafana

-11
-11
modules/grafana.nix
··· 47 47 job_name = "nextcloud"; 48 48 static_configs = [ { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.nextcloud.port}" ]; } ]; 49 49 } 50 - ++ lib.optional cfg.services.immich.enable { 51 - job_name = "immich"; 52 - static_configs = [ 53 - # Immich exposes two metrics endpoints on separate ports 54 - { targets = [ "127.0.0.1:8081" "127.0.0.1:8082" ]; } 55 - ]; 56 - } 57 50 ++ lib.optional cfg.services.postgresql.enable { 58 51 job_name = "postgres"; 59 52 static_configs = [ { targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.postgres.port}" ]; } ]; ··· 106 99 owner = "nextcloud-exporter"; 107 100 mode = "0440"; 108 101 }; 109 - 110 - # ── Immich metrics ─────────────────────────────────────────────────────── 111 - # Enable Immich's built-in Prometheus endpoints (server: 8081, microservices: 8082). 112 - services.immich.metrics.enable = lib.mkIf cfg.services.immich.enable true; 113 102 114 103 # ── Caddy metrics ──────────────────────────────────────────────────────── 115 104 # Expose /metrics on the admin API port (2019, localhost only by default).