zowoq 2023-12-12 10:15:26 +10:00 committed by Jörg Thalheim
parent a10ce4a891
commit da353681bd
2 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@ import ./make-test-python.nix ({ pkgs, ...} : {
services.telegraf.extraConfig = { services.telegraf.extraConfig = {
agent.interval = "1s"; agent.interval = "1s";
agent.flush_interval = "1s"; agent.flush_interval = "1s";
inputs.procstat = {};
inputs.exec = { inputs.exec = {
commands = [ commands = [
"${pkgs.runtimeShell} -c 'echo $SECRET,tag=a i=42i'" "${pkgs.runtimeShell} -c 'echo $SECRET,tag=a i=42i'"

View File

@ -8,7 +8,7 @@
buildGoModule rec { buildGoModule rec {
pname = "telegraf"; pname = "telegraf";
version = "1.28.5"; version = "1.29.0";
subPackages = [ "cmd/telegraf" ]; subPackages = [ "cmd/telegraf" ];
@ -16,10 +16,10 @@ buildGoModule rec {
owner = "influxdata"; owner = "influxdata";
repo = "telegraf"; repo = "telegraf";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-dmePzJ10VgzN6CxFAz7QloIsPULuTZH+Pjkd/kIQUmU="; hash = "sha256-I6fc2cjM9dFOKvUBcMA5Suvwe3oQw2kKswfkoSJZf5I=";
}; };
vendorHash = "sha256-3buC6N/tHTf6FMEXU3+XlJVGntLe86Hx3eNpn7w0yMs="; vendorHash = "sha256-frLMaB+n2YYsdmh3C7xPmZXwm984mYBws9jUPNhfIaU=";
proxyVendor = true; proxyVendor = true;
ldflags = [ ldflags = [