comment empty url props
This commit is contained in:
parent
2b8897470c
commit
abf76a3e67
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue