diff --git a/server.go b/server.go index 99f06c5..f3faba3 100644 --- a/server.go +++ b/server.go @@ -102,6 +102,12 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { versionHeader := r.Header.Get(server.versionHeader) cltVersion, cltPlatform := parseVersionHeader(versionHeader) cltIP := GetIP(r) + + span.SetAttributes( + attribute.String("client_ver", cltVersion), + attribute.Int("client_platform", cltPlatform), + ) + server.logger.V(1).Info("New request", "client_ver", cltVersion) payload, err := readRequestBody(ctx, r.Body)