diff options
author | Alexey Efimov <xeno@ydb.tech> | 2024-10-04 11:21:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 11:21:07 +0200 |
commit | b83b5723aca986074b8a84e200f75506d2f7677b (patch) | |
tree | 8ef2b99f16930e2ac4af1b6446c9ec83fd4dba96 | |
parent | 7f59752720c647a6038d9612141a699e233b854c (diff) | |
download | ydb-b83b5723aca986074b8a84e200f75506d2f7677b.tar.gz |
add url params to trace attributes (#10076)
-rw-r--r-- | ydb/core/viewer/json_pipe_req.cpp | 1 |
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('?'))); } } |