mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 03:54:21 +00:00
13 lines
246 B
Go
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...)
|
||
|
}
|