Compare commits

..

1 Commits

Author SHA1 Message Date
Владислав Весельский abf76a3e67 comment empty url props 2024-04-16 13:16:16 +03:00
1 changed files with 3 additions and 3 deletions

View File

@ -120,10 +120,10 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if url := r.URL; url != nil { if url := r.URL; url != nil {
span.SetAttributes( span.SetAttributes(
attribute.String("request.url.scheme", url.Scheme), //attribute.String("request.url.scheme", url.Scheme), // <empty>
attribute.String("request.url.host", url.Host), //attribute.String("request.url.host", url.Host), // <empty>
attribute.String("request.url.path", url.Path), attribute.String("request.url.path", url.Path),
attribute.String("request.url.raw_query", url.RawQuery), //attribute.String("request.url.raw_query", url.RawQuery), // <empty>
) )
} }