Skip to content

Commit b83b572

Browse files
authored
add url params to trace attributes (#10076)
1 parent 7f59752 commit b83b572

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ydb/core/viewer/json_pipe_req.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ TViewerPipeClient::TViewerPipeClient(IViewer* viewer, NMon::TEvHttpInfo::TPtr& e
5050
if (traceId) {
5151
Span = {TComponentTracingLevels::THttp::TopLevel, std::move(traceId), handlerName ? "http " + handlerName : "http viewer", NWilson::EFlags::AUTO_END};
5252
Span.Attribute("request_type", TString(Event->Get()->Request.GetUri().Before('?')));
53+
Span.Attribute("request_params", TString(Event->Get()->Request.GetUri().After('?')));
5354
}
5455
}
5556

0 commit comments

Comments
 (0)