Log request ContentLength.
This commit is contained in:
parent
b72ff3ffe8
commit
0af53f260d
|
@ -108,6 +108,7 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
attribute.String("request.proto", r.Proto),
|
attribute.String("request.proto", r.Proto),
|
||||||
attribute.Int("request.proto_major", r.ProtoMajor),
|
attribute.Int("request.proto_major", r.ProtoMajor),
|
||||||
attribute.Int("request.proto_minor", r.ProtoMinor),
|
attribute.Int("request.proto_minor", r.ProtoMinor),
|
||||||
|
attribute.Int64("request.content_length", r.ContentLength),
|
||||||
attribute.String("request.request_uri", r.RequestURI),
|
attribute.String("request.request_uri", r.RequestURI),
|
||||||
attribute.String("client_ver", cltVersion),
|
attribute.String("client_ver", cltVersion),
|
||||||
attribute.Int("client_platform", cltPlatform),
|
attribute.Int("client_platform", cltPlatform),
|
||||||
|
|
Loading…
Reference in New Issue