diff --git a/nixos/lib/pkgs/keylight_exporter.nix b/nixos/lib/pkgs/keylight_exporter.nix index 936d631..5a736bc 100644 --- a/nixos/lib/pkgs/keylight_exporter.nix +++ b/nixos/lib/pkgs/keylight_exporter.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "keylight_exporter"; - version = "0.1.0"; + version = "0.1.1"; goPackagePath = "github.com/mdlayher/keylight_exporter"; @@ -10,7 +10,7 @@ buildGoModule rec { owner = "mdlayher"; repo = "keylight_exporter"; rev = "v${version}"; - sha256 = "082176cf0y9dx9ks1qdw1mn9b12m7q1vjnmgi9119jnq0yv9lnvy"; + sha256 = "141npawcnxj3sz2xqsnyf06r4x1azk3g55941i8gjr7pwcla34r7"; }; modSha256 = "0idvwp8r48nzxygw60yrcrcjw6vmjrjqi3ranc2lx89p4lrky5r3"; diff --git a/nixos/servnerr-3/prometheus.nix b/nixos/servnerr-3/prometheus.nix index ff10429..1b67a07 100644 --- a/nixos/servnerr-3/prometheus.nix +++ b/nixos/servnerr-3/prometheus.nix @@ -38,6 +38,8 @@ in { enable = true; webExternalUrl = "https://prometheus.servnerr.com"; + globalConfig.scrape_interval = "15s"; + extraFlags = [ "--storage.tsdb.retention=365d" ]; # Use alertmanager running on monitoring machine.