zitadel/internal/api/http/middleware/trace_interceptor.go
2020-03-24 14:15:01 +01:00

13 lines
246 B
Go

package middleware
import (
"net/http"
"github.com/caos/zitadel/internal/api"
"github.com/caos/zitadel/internal/tracing"
)
func DefaultTraceHandler(handler http.Handler) http.Handler {
return tracing.TraceHandler(handler, api.Probes...)
}