From cc811287cdebc90eb775d5b96524b22c3054e34f Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Tue, 17 Oct 2023 11:22:01 +0100 Subject: [PATCH] Update input/otlp/metrics.go Co-authored-by: Andrew Wilkins --- input/otlp/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/otlp/metrics.go b/input/otlp/metrics.go index 5080ddcd..1f89deb0 100644 --- a/input/otlp/metrics.go +++ b/input/otlp/metrics.go @@ -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())