chore: Fix function name typo in createBatchSpan comment

Signed-off-by: zjumathcode <pai314159@2980.com>
This commit is contained in:
zjumathcode 2025-12-01 19:14:19 +08:00
parent b0649e08c4
commit 0ac2221a20

View File

@ -2299,7 +2299,7 @@ func (b *batchMetricsUpdater) recordRetry(sc sendBatchContext) {
b.metrics.retriedHistogramsTotal.Add(float64(sc.histogramCount))
}
// createSpan creates and configures an OpenTelemetry span for batch sending.
// createBatchSpan creates and configures an OpenTelemetry span for batch sending.
func createBatchSpan(ctx context.Context, sc sendBatchContext, remoteName, remoteURL string, try int) (context.Context, trace.Span) {
ctx, span := otel.Tracer("").Start(ctx, "Remote Send Batch")
span.SetAttributes(