You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When instrumenting endpoints with a wildcard *, instead of logging all the possible requests would be better to just use the name of the "endpoint", this would avoid having to do something like this:
endpoint := "*"
for _, v := range []string{"/foo/", "/foo"} {
if r.URL.Path == v {
endpoint = "/foo"
break
}
}
The text was updated successfully, but these errors were encountered:
When instrumenting endpoints with a wildcard
*
, instead of logging all the possible requests would be better to just use the name of the "endpoint", this would avoid having to do something like this:The text was updated successfully, but these errors were encountered: