From 3b01a049e03543094215e426ec23af8baadc737a Mon Sep 17 00:00:00 2001 From: Daniel Jaglowski Date: Tue, 10 Sep 2024 09:22:01 -0500 Subject: [PATCH] Revert "[processorhelper] deprecating unused methods (#11083)" This reverts commit 3f9bc53f9fbbcafa582c8128ecbb02339cba10e3. --- processor/processorhelper/obsreport.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/processor/processorhelper/obsreport.go b/processor/processorhelper/obsreport.go index 05f485c3093..c69f601cf3d 100644 --- a/processor/processorhelper/obsreport.go +++ b/processor/processorhelper/obsreport.go @@ -120,8 +120,6 @@ func (or *ObsReport) TracesDropped(ctx context.Context, numSpans int) { } // TracesInserted reports that the trace data was inserted. -// -// Deprecated: [v0.109.0] This method was not used in core/contrib and it's unclear when it should have been used. func (or *ObsReport) TracesInserted(ctx context.Context, numSpans int) { or.recordData(ctx, component.DataTypeTraces, int64(0), int64(0), int64(0), int64(numSpans)) } @@ -142,8 +140,6 @@ func (or *ObsReport) MetricsDropped(ctx context.Context, numPoints int) { } // MetricsInserted reports that the metrics were inserted. -// -// Deprecated: [v0.109.0] This method was not used in core/contrib and it's unclear when it should have been used. func (or *ObsReport) MetricsInserted(ctx context.Context, numPoints int) { or.recordData(ctx, component.DataTypeMetrics, int64(0), int64(0), int64(0), int64(numPoints)) } @@ -164,8 +160,6 @@ func (or *ObsReport) LogsDropped(ctx context.Context, numRecords int) { } // LogsInserted reports that the logs were inserted. -// -// Deprecated: [v0.109.0] This method was not used in core/contrib and it's unclear when it should have been used. func (or *ObsReport) LogsInserted(ctx context.Context, numRecords int) { or.recordData(ctx, component.DataTypeLogs, int64(0), int64(0), int64(0), int64(numRecords)) }