aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Efimov <xeno@ydb.tech>2024-10-04 11:21:07 +0200
committerGitHub <noreply@github.com>2024-10-04 11:21:07 +0200
commitb83b5723aca986074b8a84e200f75506d2f7677b (patch)
tree8ef2b99f16930e2ac4af1b6446c9ec83fd4dba96
parent7f59752720c647a6038d9612141a699e233b854c (diff)
downloadydb-b83b5723aca986074b8a84e200f75506d2f7677b.tar.gz
add url params to trace attributes (#10076)
-rw-r--r--ydb/core/viewer/json_pipe_req.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/viewer/json_pipe_req.cpp b/ydb/core/viewer/json_pipe_req.cpp
index ecd896f849..0425f9a433 100644
--- a/ydb/core/viewer/json_pipe_req.cpp
+++ b/ydb/core/viewer/json_pipe_req.cpp
@@ -50,6 +50,7 @@ TViewerPipeClient::TViewerPipeClient(IViewer* viewer, NMon::TEvHttpInfo::TPtr& e
if (traceId) {
Span = {TComponentTracingLevels::THttp::TopLevel, std::move(traceId), handlerName ? "http " + handlerName : "http viewer", NWilson::EFlags::AUTO_END};
Span.Attribute("request_type", TString(Event->Get()->Request.GetUri().Before('?')));
+ Span.Attribute("request_params", TString(Event->Get()->Request.GetUri().After('?')));
}
}