@@ -108,7 +108,7 @@ func submitVercelLog(ctx context.Context, tracer trace.Tracer, projectID int, se
108108 t := time .UnixMilli (log .Timestamp )
109109 span , _ := highlight .StartTraceWithTracer (
110110 ctx , tracer , highlight .LogSpanName , t ,
111- []trace.SpanStartOption {trace .WithSpanKind (trace .SpanKindClient )},
111+ []trace.SpanStartOption {trace .WithSpanKind (trace .SpanKindProducer )},
112112 attribute .String (highlight .ProjectIDAttribute , strconv .Itoa (projectID )),
113113 semconv .ServiceNameKey .String (serviceName ),
114114 )
@@ -224,7 +224,7 @@ func SubmitHTTPLog(ctx context.Context, tracer trace.Tracer, projectID int, lg L
224224
225225 span , _ := highlight .StartTraceWithTracer (
226226 ctx , tracer , highlight .LogSpanName , t ,
227- []trace.SpanStartOption {trace .WithSpanKind (trace .SpanKindClient )},
227+ []trace.SpanStartOption {trace .WithSpanKind (trace .SpanKindProducer )},
228228 attribute .String (highlight .ProjectIDAttribute , strconv .Itoa (projectID )),
229229 )
230230 defer highlight .EndTrace (span )
0 commit comments