diff --git a/tracing/tracing.go b/tracing/tracing.go
index 739eda6efd0783627857b9881657becc35094019..000ceb5996b2c0d6dabf63063a400637f41435fe 100644
--- a/tracing/tracing.go
+++ b/tracing/tracing.go
@@ -168,5 +168,9 @@ func WrapHandler(h http.Handler, endpointAddr string) http.Handler {
 	if !Enabled {
 		return h
 	}
-	return othttp.NewHandler(h, serviceName)
+
+	// Format span names with the request URL path.
+	return othttp.NewHandler(h, serviceName, othttp.WithSpanNameFormatter(func(op string, r *http.Request) string {
+		return r.URL.Path
+	}))
 }