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:
parent
21590239df
commit
6760123bde
2 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue