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