feat(client): tracing in rp
This commit is contained in:
parent
d18aba8cb3
commit
bdcccc3303
5 changed files with 65 additions and 0 deletions
|
@ -135,6 +135,7 @@ func CreateRouter(o OpenIDProvider, interceptors ...HttpInterceptor) chi.Router
|
|||
} else {
|
||||
router.Use(cors.New(defaultCORSOptions).Handler)
|
||||
}
|
||||
|
||||
router.Use(intercept(o.IssuerFromRequest, interceptors...))
|
||||
router.HandleFunc(healthEndpoint, healthHandler)
|
||||
router.HandleFunc(readinessEndpoint, readyHandler(o.Probes()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue