diff --git a/server.go b/server.go index a4b722f..446c9c0 100644 --- a/server.go +++ b/server.go @@ -104,6 +104,10 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { cltIP := GetIP(r) span.SetAttributes( + attribute.String("request_method", r.Method), + attribute.String("request_proto", r.Proto), + attribute.Int("request_proto_major", r.ProtoMajor), + attribute.Int("request_proto_minor", r.ProtoMinor), attribute.String("client_ver", cltVersion), attribute.Int("client_platform", cltPlatform), attribute.String("client_ip", cltIP.String()),