Add span attr "can_gzip".
This commit is contained in:
parent
54357f64f2
commit
aaee4c64d1
|
@ -107,6 +107,7 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
attribute.String("client_ver", cltVersion),
|
attribute.String("client_ver", cltVersion),
|
||||||
attribute.Int("client_platform", cltPlatform),
|
attribute.Int("client_platform", cltPlatform),
|
||||||
attribute.String("client_ip", cltIP.String()),
|
attribute.String("client_ip", cltIP.String()),
|
||||||
|
attribute.Bool("can_gzip", canGzip),
|
||||||
)
|
)
|
||||||
|
|
||||||
server.logger.V(1).Info("New request", "client_ver", cltVersion)
|
server.logger.V(1).Info("New request", "client_ver", cltVersion)
|
||||||
|
|
Loading…
Reference in New Issue