diff --git a/nixos/tests/victoriatraces/otlp-ingestion.nix b/nixos/tests/victoriatraces/otlp-ingestion.nix index fb2818d7010e..d3807c6bde66 100644 --- a/nixos/tests/victoriatraces/otlp-ingestion.nix +++ b/nixos/tests/victoriatraces/otlp-ingestion.nix @@ -60,6 +60,9 @@ in services.victoriatraces = { enable = true; retentionPeriod = "1d"; + extraOptions = [ + "-search.latencyOffset=0s" + ]; }; environment.systemPackages = with pkgs; [ @@ -82,10 +85,10 @@ in """, timeout=10) # Query for traces from our test service - machine.succeed(""" + machine.wait_until_succeeds(""" curl -s 'http://localhost:10428/select/jaeger/api/traces?service=test-service' | \ jq -e '.data[0].spans[0].operationName' | grep -q 'test-span' - """) + """, timeout=10) # Verify the trace has the expected attributes machine.succeed(""" diff --git a/pkgs/by-name/vi/victoriatraces/package.nix b/pkgs/by-name/vi/victoriatraces/package.nix index 4c7657e43286..051dde820502 100644 --- a/pkgs/by-name/vi/victoriatraces/package.nix +++ b/pkgs/by-name/vi/victoriatraces/package.nix @@ -13,13 +13,13 @@ buildGoModule (finalAttrs: { pname = "VictoriaTraces"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "VictoriaMetrics"; repo = "VictoriaTraces"; tag = "v${finalAttrs.version}"; - hash = "sha256-gXdOPRC3oxMAimMc4v0CjTb224qiocFY9/1PFH4hbRw="; + hash = "sha256-MWPw2SJlqjQCyBYT++A0KcwccdpTP7Ome4RfA7lcjAM="; }; vendorHash = null;