We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11d9cc commit a686762Copy full SHA for a686762
examples/datadog-logging-and-tracing/main.go
@@ -42,7 +42,7 @@ func main() {
42
var handler http.Handler = httpbin.New()
43
handler = loggingHandler(logger, handler)
44
handler = ddhttp.WrapHandler(handler, serviceName, "", ddhttp.WithResourceNamer(func(r *http.Request) string {
45
- return r.Method + " " + r.URL.Path
+ return r.Method + " " + r.URL.String()
46
}))
47
48
srv := &http.Server{
0 commit comments