8 Commits

Author SHA1 Message Date
Quentin Gliech
af5e8579b2 Better propagate request context
This properly propagates the go Context on down to all HTTP calls, which means that outgoing request have the OTLP trace context.
This also adds the Jaeger propagator to the list of OTEL propagators, so that Synapse properly gets the incoming trace context.
It also upgrades all the OTEL libraries
2023-09-13 19:41:52 +02:00
Kegan Dougal
c5addab65d Add more OTLP tags
This makes it easier to xref with EX rageshakes
2023-08-24 11:24:08 +01:00
Kegan Dougal
2730e8f3b0 Configure basic auth correctly 2023-08-23 15:38:45 +01:00
Kegan Dougal
4fd1c3bc06 Configure OTLP URL correctly 2023-08-23 13:06:18 +01:00
Kegan Dougal
9ae4a04824 Move from Jaeger to OTLP exportor
Jaeger spans can be sent as OTLP so this is mostly semantics for
the collector, which is more flexible if it accepts OTLP traces
rather than jaeger.thrift traces.
2023-08-23 12:52:47 +01:00
Kegan Dougal
5de7fa72f6 Read TraceContext headers to get full client/server spans 2023-02-21 10:50:39 +00:00
Kegan Dougal
1d64febf49 metrics: add Jaeger spans by setting SYNCV3_JAEGER_URL
This is a WIP but is mostly there. Jaeger debug logging goes
to the wrong logger currently (e.g if you enter an invalid URL).
2023-02-20 17:55:34 +00:00
Kegan Dougal
6ee1b5244f Add missing file 2023-02-20 14:58:38 +00:00