Skip to content

Commit

Permalink
Update input/otlp/traces.go
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Wilkins <[email protected]>
  • Loading branch information
carsonip and axw authored Oct 17, 2023
1 parent cc81128 commit 50cba92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/otlp/traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50cba92

Please sign in to comment.