File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -200,21 +200,14 @@ struct TCallMeta {
200
200
std::shared_ptr<grpc::CallCredentials> CallCredentials;
201
201
std::vector<std::pair<std::string, std::string>> Aux;
202
202
std::variant<TDuration, TInstant> Timeout; // timeout as duration from now or time point in future
203
- std::string TraceParent; // Поле для трассировки
204
203
};
205
204
206
205
class TGRpcRequestProcessorCommon {
207
206
protected:
208
207
void ApplyMeta (const TCallMeta& meta) {
209
208
for (const auto & rec : meta.Aux ) {
210
209
Context.AddMetadata (NYdb::TStringType{rec.first }, NYdb::TStringType{rec.second });
211
- }
212
-
213
- // Добавление traceparent в заголовки gRPC
214
- if (!meta.TraceParent .empty ()) {
215
- Context.AddMetadata (" traceparent" , NYdb::TStringType{*meta.TraceParent });
216
- }
217
-
210
+ }
218
211
if (meta.CallCredentials ) {
219
212
Context.set_credentials (meta.CallCredentials );
220
213
}
You can’t perform that action at this time.
0 commit comments