Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated funcs in consumererror #7357

Merged
merged 1 commit into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .chloggen/rmoldapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: consumererror

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove deprecated funcs in consumererror

# One or more tracking issues or pull requests related to the change
issues: [7357]
15 changes: 0 additions & 15 deletions consumer/consumererror/signalerrors.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ func NewTraces(err error, data ptrace.Traces) error {
}
}

// Deprecated: [v0.73.0] Use `Data` instead.
func (err Traces) GetTraces() ptrace.Traces {
return err.Data()
}

// Logs is an error that may carry associated Log data for a subset of received data
// that failed to be processed or sent.
type Logs struct {
Expand All @@ -72,11 +67,6 @@ func NewLogs(err error, data plog.Logs) error {
}
}

// Deprecated: [v0.73.0] Use `Data` instead.
func (err Logs) GetLogs() plog.Logs {
return err.Data()
}

// Metrics is an error that may carry associated Metrics data for a subset of received data
// that failed to be processed or sent.
type Metrics struct {
Expand All @@ -92,8 +82,3 @@ func NewMetrics(err error, data pmetric.Metrics) error {
},
}
}

// Deprecated: [v0.73.0] Use `Data` instead.
func (err Metrics) GetMetrics() pmetric.Metrics {
return err.Data()
}