Skip to content

Commit

Permalink
add url params to trace attributes (ydb-platform#10076)
Browse files Browse the repository at this point in the history
  • Loading branch information
adameat authored Oct 4, 2024
1 parent 7f59752 commit b83b572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/viewer/json_pipe_req.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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('?')));
}
}

Expand Down

0 comments on commit b83b572

Please sign in to comment.