diff --git a/pkg/pipeline/encode/opentelemetry/encode_otlpmetrics.go b/pkg/pipeline/encode/opentelemetry/encode_otlpmetrics.go index 69a5444e7..c645bd53d 100644 --- a/pkg/pipeline/encode/opentelemetry/encode_otlpmetrics.go +++ b/pkg/pipeline/encode/opentelemetry/encode_otlpmetrics.go @@ -163,7 +163,7 @@ func NewEncodeOtlpMetrics(opMetrics *operational.Metrics, params config.StagePar } if err != nil { - log.Errorf("error during counter creation: %v", err) + log.Errorf("error during histogram creation: %v", err) return nil, err } metricCommon.AddHist(histo, mInfo)