Support OpenTelemetry tracing. Add Jaeger support. (#4222)

This commit is contained in:
Denys Smirnov
2026-01-06 17:22:21 +02:00
committed by GitHub
parent 80ba93fa18
commit 4ec0f8f4ce
7 changed files with 75 additions and 53 deletions
+4 -1
View File
@@ -23,6 +23,7 @@ import (
"github.com/livekit/protocol/logger"
"github.com/livekit/protocol/rpc"
"github.com/livekit/psrpc"
"github.com/livekit/psrpc/pkg/middleware/otelpsrpc"
"github.com/livekit/livekit-server/pkg/telemetry"
)
@@ -54,7 +55,9 @@ func NewIOInfoService(
}
if bus != nil {
ioServer, err := rpc.NewIOInfoServer(s, bus)
ioServer, err := rpc.NewIOInfoServer(s, bus,
otelpsrpc.ServerOptions(otelpsrpc.Config{}),
)
if err != nil {
return nil, err
}