Skip to content

Commit

Permalink
Remove deprecated settings from obsreport (#5918)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <[email protected]>

Signed-off-by: Bogdan <[email protected]>
  • Loading branch information
bogdandrutu authored Aug 16, 2022
1 parent 3fa3789 commit f6d15f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## Unreleased

### 🛑 Breaking changes 🛑


- Remove deprecated settings from `obsreport`, `ProcessorSettings.Level` and `ExporterSettings.Level` (#5918)
- Replace `processorhelper.New[Traces|Metrics|Logs]Exporter` with `processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings` definition (#5915)

- Replace `exporterhelper.New[Traces|Metrics|Logs]Exporter` with `exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext` definition (#5914)
Expand Down
2 changes: 0 additions & 2 deletions obsreport/obsreport_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ type Exporter struct {

// ExporterSettings are settings for creating an Exporter.
type ExporterSettings struct {
// Deprecated: [v0.58.0] set the level in the ExporterSettings.ExporterCreateSettings.
Level configtelemetry.Level
ExporterID config.ComponentID
ExporterCreateSettings component.ExporterCreateSettings
}
Expand Down
2 changes: 0 additions & 2 deletions obsreport/obsreport_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ type Processor struct {

// ProcessorSettings are settings for creating a Processor.
type ProcessorSettings struct {
// Deprecated: [v0.58.0] set the level in the ProcessorSettings.ProcessorCreateSettings.
Level configtelemetry.Level
ProcessorID config.ComponentID
ProcessorCreateSettings component.ProcessorCreateSettings
}
Expand Down

0 comments on commit f6d15f6

Please sign in to comment.