6 Commits

Author SHA1 Message Date
Stéphane Tailland 3de6809b75 Propagate trace context across gateway hops
Every hop was starting its own trace: a single end-to-end transaction through
LibreChat, Kong and the backends appeared in Tempo as a dozen unrelated traces,
one per service. Verified on twelve consecutive traces, each containing exactly
one service.

Kong receives a W3C traceparent -- it is visible in the http-log records -- but
without a propagation block it neither continues the caller's trace nor passes
one downstream, so it minted a fresh trace id per request and the backends did
the same.

extract lists w3c first with b3 and jaeger as fallbacks, since the callers here
are a mix of OTel SDKs; inject is w3c only, which is what the Python and Java
agents downstream expect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 08:12:07 +02:00
Stéphane Tailland 200f3174e7 fix(tracing): Add KONG_TRACING environment variables to gatewayconfiguration template 2026-08-23 15:49:15 +02:00
Stéphane Tailland b4fd7064a3 Globol Policies template 2026-08-20 12:11:59 +02:00
Stéphane Tailland 2a35066dbf Globol Policies template 2026-08-20 11:34:32 +02:00
Stéphane Tailland 5e4cdc5c85 Globol Policies template 2026-08-20 11:28:14 +02:00
Stéphane Tailland 3879f775b8 Globol Policies template 2026-08-20 11:26:01 +02:00