API Server: Fix extracting jaeger remote trace from incoming request (#93998)

This commit is contained in:
Marcus Efraimsson
2024-10-02 17:07:31 +02:00
committed by GitHub
parent d75a9b6aeb
commit e22b510cd8
8 changed files with 28 additions and 7 deletions
+1
View File
@@ -84,6 +84,7 @@ func getDefaultBuildHandlerChainFunc(builders []APIGroupBuilder) BuildHandlerCha
handler = filters.WithAcceptHeader(handler)
handler = filters.WithPathRewriters(handler, PathRewriters)
handler = k8stracing.WithTracing(handler, c.TracerProvider, "KubernetesAPI")
handler = filters.WithExtractJaegerTrace(handler)
// Configure filters.WithPanicRecovery to not crash on panic
utilruntime.ReallyCrash = false