[management] log user agent and return request id (#6380)

This commit is contained in:
Pascal Fischer
2026-06-09 15:24:26 +02:00
committed by GitHub
parent 13200265d8
commit a40028092d
5 changed files with 43 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ const (
RoleKey = nbcontext.RoleKey
UserIDKey = nbcontext.UserIDKey
PeerIDKey = nbcontext.PeerIDKey
UserAgentKey = nbcontext.UserAgentKey
)
// RoleFromContext returns the role stored in ctx, or empty string and false if absent.