Log request host and uri.
This commit is contained in:
parent
0af53f260d
commit
2b8897470c
|
@ -109,6 +109,8 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
attribute.Int("request.proto_major", r.ProtoMajor),
|
||||
attribute.Int("request.proto_minor", r.ProtoMinor),
|
||||
attribute.Int64("request.content_length", r.ContentLength),
|
||||
attribute.String("request.host", r.Host),
|
||||
attribute.String("request.remote_addr", r.RemoteAddr),
|
||||
attribute.String("request.request_uri", r.RequestURI),
|
||||
attribute.String("client_ver", cltVersion),
|
||||
attribute.Int("client_platform", cltPlatform),
|
||||
|
|
Loading…
Reference in New Issue