Log request ContentLength.

This commit is contained in:
Владислав Весельский 2024-04-15 18:08:01 +03:00
parent b72ff3ffe8
commit 0af53f260d
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
attribute.String("request.proto", r.Proto),
attribute.Int("request.proto_major", r.ProtoMajor),
attribute.Int("request.proto_minor", r.ProtoMinor),
attribute.Int64("request.content_length", r.ContentLength),
attribute.String("request.request_uri", r.RequestURI),
attribute.String("client_ver", cltVersion),
attribute.Int("client_platform", cltPlatform),