refactor(tracing): remove Jaeger integration and related components
This commit removes Jaeger tracing support from the project, including the associated Docker configurations, Go modules, and middleware. The changes simplify the codebase by eliminating unused tracing functionality, which was previously integrated for observability. Documentation and scripts have also been updated to reflect the removal of Jaeger references.
This commit is contained in:
@@ -141,9 +141,6 @@ func NewRouter(params RouterParams) *gin.Engine {
|
||||
// Diagnostic preview of presigned URLs (Admin only, behind auth middleware).
|
||||
servePresignedPreview(r, params.Config)
|
||||
|
||||
// 添加OpenTelemetry追踪中间件
|
||||
// r.Use(middleware.TracingMiddleware())
|
||||
|
||||
// Langfuse observability — only active when LANGFUSE_* env vars are set.
|
||||
// The middleware is registered unconditionally; when disabled it's a no-op.
|
||||
r.Use(langfuse.GinMiddleware())
|
||||
|
||||
Reference in New Issue
Block a user