mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +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...)
|
|
}
|