Compare commits

..

2 Commits

1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ 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.host", r.Host),
attribute.String("request.remote_addr", r.RemoteAddr),
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),