mirror of
https://github.com/prometheus/prometheus.git
synced 2025-12-06 10:01:02 +01:00
chore: Fix function name typo in createBatchSpan comment
Signed-off-by: zjumathcode <pai314159@2980.com>
This commit is contained in:
parent
b0649e08c4
commit
0ac2221a20
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user