Add span attr "can_gzip".

This commit is contained in:
Владислав Весельский 2024-04-15 14:25:27 +03:00
parent 54357f64f2
commit aaee4c64d1
1 changed files with 1 additions and 0 deletions

View File

@ -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)