From 96867af453379902a871bc4df36c7a776735c968 Mon Sep 17 00:00:00 2001 From: Dan Jaglowski Date: Fri, 6 Sep 2024 15:03:50 -0400 Subject: [PATCH] Fix comments --- processor/processorhelper/metrics_test.go | 2 +- processor/processorhelper/traces_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/processorhelper/metrics_test.go b/processor/processorhelper/metrics_test.go index 65f812fdb52..7a31d70c831 100644 --- a/processor/processorhelper/metrics_test.go +++ b/processor/processorhelper/metrics_test.go @@ -76,7 +76,7 @@ func newTestMProcessor(retError error) ProcessMetricsFunc { } func TestMetricsProcessor_RecordInOut(t *testing.T) { - // Regardless of how many logs are ingested, emit just one + // Regardless of how many data points are ingested, emit just one mockAggregate := func(_ context.Context, _ pmetric.Metrics) (pmetric.Metrics, error) { md := pmetric.NewMetrics() md.ResourceMetrics().AppendEmpty().ScopeMetrics().AppendEmpty().Metrics().AppendEmpty().SetEmptySum().DataPoints().AppendEmpty() diff --git a/processor/processorhelper/traces_test.go b/processor/processorhelper/traces_test.go index b99e09fd615..1a844dabd70 100644 --- a/processor/processorhelper/traces_test.go +++ b/processor/processorhelper/traces_test.go @@ -76,7 +76,7 @@ func newTestTProcessor(retError error) ProcessTracesFunc { } func TestTracesProcessor_RecordInOut(t *testing.T) { - // Regardless of how many logs are ingested, emit just one + // Regardless of how many spans are ingested, emit just one mockAggregate := func(_ context.Context, _ ptrace.Traces) (ptrace.Traces, error) { td := ptrace.NewTraces() td.ResourceSpans().AppendEmpty().ScopeSpans().AppendEmpty().Spans().AppendEmpty()