comment empty url props

This commit is contained in:
Владислав Весельский 2024-04-16 13:16:16 +03:00
parent 2b8897470c
commit abf76a3e67
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 {
span.SetAttributes(
attribute.String("request.url.scheme", url.Scheme),
attribute.String("request.url.host", url.Host),
//attribute.String("request.url.scheme", url.Scheme), // <empty>
//attribute.String("request.url.host", url.Host), // <empty>
attribute.String("request.url.path", url.Path),
attribute.String("request.url.raw_query", url.RawQuery),
//attribute.String("request.url.raw_query", url.RawQuery), // <empty>
)
}