Skip to content

Commit

Permalink
Update input/otlp/metrics.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 e53be5f commit cc81128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/otlp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type ConsumeMetricsResult struct {

// ConsumeMetrics consumes OpenTelemetry metrics data, converting into
// the Elastic APM metrics model and sending to the reporter.
// The returned ConsumeMetricsResult contains the number of {accepted,rejected} {data points,metrics}.
// The returned ConsumeMetricsResult contains the number of rejected data points.
func (c *Consumer) ConsumeMetrics(ctx context.Context, metrics pmetric.Metrics) (ConsumeMetricsResult, error) {
totalDataPoints := int64(metrics.DataPointCount())
totalMetrics := int64(metrics.MetricCount())
Expand Down

0 comments on commit cc81128

Please sign in to comment.