Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski committed Sep 6, 2024
1 parent 4421a21 commit 96867af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processor/processorhelper/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion processor/processorhelper/traces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 96867af

Please sign in to comment.