Skip to content

Commit

Permalink
Revert "[processorhelper] deprecating unused methods (#11083)"
Browse files Browse the repository at this point in the history
This reverts commit 3f9bc53.
  • Loading branch information
djaglowski authored Sep 10, 2024
1 parent 3ed205e commit 3b01a04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions processor/processorhelper/obsreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand All @@ -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))
}
Expand All @@ -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))
}

0 comments on commit 3b01a04

Please sign in to comment.