From 50cba9216d6b6ed8b12304cb62eaa1e123e9a625 Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Tue, 17 Oct 2023 11:22:22 +0100 Subject: [PATCH] Update input/otlp/traces.go Co-authored-by: Andrew Wilkins --- input/otlp/traces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/otlp/traces.go b/input/otlp/traces.go index 9a926653..699f320d 100644 --- a/input/otlp/traces.go +++ b/input/otlp/traces.go @@ -84,7 +84,7 @@ type ConsumeTracesResult struct { // ConsumeTraces consumes OpenTelemetry trace data, // converting into Elastic APM events and reporting to the Elastic APM schema. -// The returned ConsumeTracesResult contains the number of accepted and rejected spans. +// The returned ConsumeTracesResult contains the number of rejected spans. func (c *Consumer) ConsumeTraces(ctx context.Context, traces ptrace.Traces) (ConsumeTracesResult, error) { if err := c.sem.Acquire(ctx, 1); err != nil { return ConsumeTracesResult{}, err