From aaee4c64d172f7856d1e99fe19160e5c6d103fbd Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Mon, 15 Apr 2024 14:25:27 +0300 Subject: [PATCH] Add span attr "can_gzip". --- server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server.go b/server.go index 2263614..a4b722f 100644 --- a/server.go +++ b/server.go @@ -107,6 +107,7 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { attribute.String("client_ver", cltVersion), attribute.Int("client_platform", cltPlatform), attribute.String("client_ip", cltIP.String()), + attribute.Bool("can_gzip", canGzip), ) server.logger.V(1).Info("New request", "client_ver", cltVersion)