From 31892d60ca40f4031918485d9b271ac20e0acaab Mon Sep 17 00:00:00 2001 From: John Galt Date: Mon, 10 Mar 2025 11:17:08 +1000 Subject: [PATCH] Fix Tracer.startSpan signature --- lib/src/api/trace/tracer.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/src/api/trace/tracer.dart b/lib/src/api/trace/tracer.dart index a9087f5a..c09152dc 100644 --- a/lib/src/api/trace/tracer.dart +++ b/lib/src/api/trace/tracer.dart @@ -17,9 +17,10 @@ abstract class Tracer { /// The [api.Span] is created with the provided name and as a child of any /// existing span context found in the passed context. api.Span startSpan(String name, - {api.Context context, - api.SpanKind kind, - List attributes, - List links, - Int64 startTime}); + {api.Context? context, + api.SpanKind kind = api.SpanKind.internal, + List attributes = const [], + List links = const [], + Int64? startTime, + bool newRoot = false}); }