mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
victoriatraces: 0.6.0 -> 0.7.0
Closes #482237 ChangeLog: https://github.com/VictoriaMetrics/VictoriaTraces/releases/tag/v0.7.0
This commit is contained in:
@@ -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("""
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user