We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab4d61 commit a3307aaCopy full SHA for a3307aa
ydb/core/viewer/viewer_query.h
@@ -218,6 +218,15 @@ class TJsonQuery : public TViewerPipeClient {
218
Span.Attribute("database", Database);
219
}
220
221
+ event->Record.SetApplicationName("ydb-ui");
222
+ event->Record.SetClientAddress(Event->Get()->Request.GetRemoteAddr());
223
+ event->Record.SetClientUserAgent(TString(Event->Get()->Request.GetHeader("User-Agent")));
224
+ if (Event->Get()->UserToken) {
225
+ NACLibProto::TUserToken userToken;
226
+ if (userToken.ParseFromString(Event->Get()->UserToken)) {
227
+ event->Record.SetUserSID(userToken.GetUserSID());
228
+ }
229
230
CreateSessionResponse = MakeRequest<NKqp::TEvKqp::TEvCreateSessionResponse>(NKqp::MakeKqpProxyID(SelfId().NodeId()), event.release());
231
232
0 commit comments