Skip to content

Commit

Permalink
checlers
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg committed Dec 13, 2023
1 parent 196a102 commit f03634f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion google/cloud/pubsub/internal/tracing_batch_sink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ auto MakeParent(Links const& links, Spans const& message_spans,
opentelemetry::trace::StartSpanOptions options;
opentelemetry::context::Context root_context;
// TODO(#13287): Use the constant instead of the string.
root_context.SetValue(/*opentelemetry::trace::kIsRootSpanKey=*/"is_root_span", true);
root_context.SetValue(/*opentelemetry::trace::kIsRootSpanKey=*/"is_root_span",
true);
options.parent = root_context;
options.kind = opentelemetry::trace::SpanKind::kClient;
auto batch_sink_parent = internal::MakeSpan(
Expand Down

0 comments on commit f03634f

Please sign in to comment.