Skip to content

Commit

Permalink
Remove derprecated NewLogs[Request]Exporter funcs
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Nov 12, 2024
1 parent 410b4f7 commit de0edfe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions exporter/exporterhelper/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ func NewLogs(
return NewLogsRequest(ctx, set, requestFromLogs(pusher), append(logsOpts, options...)...)
}

// Deprecated: [v0.112.0] use NewLogs.
var NewLogsExporter = NewLogs

// RequestFromLogsFunc converts plog.Logs data into a user-defined request.
// Experimental: This API is at the early stage of development and may change without backward compatibility
// until https://github.com/open-telemetry/opentelemetry-collector/issues/8122 is resolved.
Expand Down Expand Up @@ -148,9 +145,6 @@ func NewLogsRequest(
}, err
}

// Deprecated: [v0.112.0] use NewLogsRequest.
var NewLogsRequestExporter = NewLogsRequest

type logsExporterWithObservability struct {
internal.BaseRequestSender
obsrep *internal.ObsReport
Expand Down
6 changes: 0 additions & 6 deletions exporter/exporterhelper/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ func NewMetrics(
return NewMetricsRequest(ctx, set, requestFromMetrics(pusher), append(metricsOpts, options...)...)
}

// Deprecated: [v0.112.0] use NewMetrics.
var NewMetricsExporter = NewMetrics

// RequestFromMetricsFunc converts pdata.Metrics into a user-defined request.
// Experimental: This API is at the early stage of development and may change without backward compatibility
// until https://github.com/open-telemetry/opentelemetry-collector/issues/8122 is resolved.
Expand Down Expand Up @@ -148,9 +145,6 @@ func NewMetricsRequest(
}, err
}

// Deprecated: [v0.112.0] use NewMetricsRequest.
var NewMetricsRequestExporter = NewMetricsRequest

type metricsSenderWithObservability struct {
internal.BaseRequestSender
obsrep *internal.ObsReport
Expand Down
6 changes: 0 additions & 6 deletions exporter/exporterhelper/traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ func NewTraces(
return NewTracesRequest(ctx, set, requestFromTraces(pusher), append(tracesOpts, options...)...)
}

// Deprecated: [v0.112.0] use NewTraces.
var NewTracesExporter = NewTraces

// RequestFromTracesFunc converts ptrace.Traces into a user-defined Request.
// Experimental: This API is at the early stage of development and may change without backward compatibility
// until https://github.com/open-telemetry/opentelemetry-collector/issues/8122 is resolved.
Expand Down Expand Up @@ -148,9 +145,6 @@ func NewTracesRequest(
}, err
}

// Deprecated: [v0.112.0] use NewTracesRequest.
var NewTracesRequestExporter = NewTracesRequest

type tracesWithObservability struct {
internal.BaseRequestSender
obsrep *internal.ObsReport
Expand Down

0 comments on commit de0edfe

Please sign in to comment.