Compare commits
1 Commits
v2025.3.18
...
v2025.3.19
Author | SHA1 | Date | |
---|---|---|---|
8b6e75ae77 |
@ -80,9 +80,10 @@ func (d *Director) rewriteRequest(r *http.Request) (*http.Request, error) {
|
||||
r = r.WithContext(proxyCtx)
|
||||
|
||||
if sentryScope, _ := SentryScope(ctx); sentryScope != nil {
|
||||
sentryScope.SetContext("bouncer", sentry.Context{
|
||||
"proxy_name": p.Name,
|
||||
"proxy_target": r.URL.String(),
|
||||
sentryScope.SetTags(map[string]string{
|
||||
"bouncer.proxy.name": string(p.Name),
|
||||
"bouncer.proxy.target.url": r.URL.String(),
|
||||
"bouncer.proxy.target.host": r.URL.Host,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user