1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/servnerr-3: bump keylight_exporter, 15s Prometheus scrape interval

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2020-05-28 16:49:03 -04:00
parent 21590239df
commit 6760123bde
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
2 changed files with 4 additions and 2 deletions

View file

@ -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";

View file

@ -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.