diff --git a/consumer/consumer.go b/consumer/consumer.go index 37a9baba4f5..af181d138c6 100644 --- a/consumer/consumer.go +++ b/consumer/consumer.go @@ -10,7 +10,7 @@ import ( // Capabilities describes the capabilities of a Processor. type Capabilities struct { // MutatesData is set to true if Consume* function of the - // processor modifies the input TraceData or MetricsData argument. + // processor modifies the input Traces, Logs or Metrics argument. // Processors which modify the input data MUST set this flag to true. If the processor // does not modify the data it MUST set this flag to false. If the processor creates // a copy of the data before modifying then this flag can be safely set to false. diff --git a/consumer/doc.go b/consumer/doc.go index 9f5bac07b88..b2ea0535b79 100644 --- a/consumer/doc.go +++ b/consumer/doc.go @@ -1,5 +1,5 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -// Package consumer contains interfaces that receive and process consumerdata. +// Package consumer contains interfaces that receive and process data. package consumer // import "go.opentelemetry.io/collector/consumer" diff --git a/consumer/metrics.go b/consumer/metrics.go index 9a58934a623..50df60f02d0 100644 --- a/consumer/metrics.go +++ b/consumer/metrics.go @@ -9,7 +9,7 @@ import ( "go.opentelemetry.io/collector/pdata/pmetric" ) -// Metrics is the new metrics consumer interface that receives pmetric.Metrics, processes it +// Metrics is an interface that receives pmetric.Metrics, processes it // as needed, and sends it to the next processing node if any or to the destination. type Metrics interface { baseConsumer