Skip to content

Commit 357619f

Browse files
committed
Set level 15 for OTEL tracing header by default
1 parent 824a5fd commit 357619f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ydb/core/grpc_services/grpc_request_proxy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ void TGRpcRequestProxyImpl::MaybeStartTracing(IRequestProxyCtx& ctx) {
469469

470470
NWilson::TTraceId traceId;
471471
if (const auto otelHeader = ctx.GetPeerMetaValues(NYdb::OTEL_TRACE_HEADER)) {
472-
traceId = NWilson::TTraceId::FromTraceparentHeader(otelHeader.GetRef(), TComponentTracingLevels::ProductionVerbose);
472+
traceId = NWilson::TTraceId::FromTraceparentHeader(otelHeader.GetRef(), TComponentTracingLevels::MostVerbose);
473473
}
474474
TracingControl->HandleTracing(traceId, ctx.GetRequestDiscriminator());
475475
if (traceId) {

ydb/library/wilson_ids/wilson.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ namespace NKikimr {
3232
enum : ui8 {
3333
// The most verbose detalisation level used in production
3434
ProductionVerbose = 13,
35+
// The most verbose detalisation level
36+
MostVerbose = 15,
3537
};
3638
};
3739

0 commit comments

Comments
 (0)