From b6a18d2822fe79b157c4a17d75575adfbe6d44d1 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Tue, 2 Aug 2022 20:11:07 -0500 Subject: [PATCH] Trace in Complement --- docker/conf/homeserver.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docker/conf/homeserver.yaml b/docker/conf/homeserver.yaml index f10f78a48c..55977017e3 100644 --- a/docker/conf/homeserver.yaml +++ b/docker/conf/homeserver.yaml @@ -184,3 +184,21 @@ trusted_key_servers: password_config: enabled: true + + +# foo +tracing: + enabled: true + sample_rate: 1 + jaeger_exporter_config: + agent_host_name: host.docker.internal + agent_port: 6831 + # Split UDP packets (UDP_PACKET_MAX_LENGTH is set to 65k in OpenTelemetry) + udp_split_oversized_batches: true + # If you define a collector, it will communicate directly to the collector, + # bypassing the agent + # + # It does not seem like the agent can keep up with the massive UDP load + # (1065 spans in one trace) so lets just use the HTTP collector endpoint + # instead which seems to work. + collector_endpoint: "http://host.docker.internal:14268/api/traces?format=jaeger.thrift"