zitadel/internal/api/http/middleware/trace_interceptor.go

13 lines
246 B
Go
Raw Normal View History

2020-03-24 13:15:01 +00:00
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...)
}