mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-25 09:07:48 +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...)
|
||
|
}
|