From 3e81cb17fa7e2897e45b6051ebf87ec5e4725e5d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 15 Aug 2022 18:19:47 -0700 Subject: [PATCH] Remove deprecated settings from obsreport Signed-off-by: Bogdan --- CHANGELOG.md | 3 ++- obsreport/obsreport_exporter.go | 2 -- obsreport/obsreport_processor.go | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1225dc05d9..13bdb2cbf0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/obsreport/obsreport_exporter.go b/obsreport/obsreport_exporter.go index cfa24252a7b..8a8bddfd6ae 100644 --- a/obsreport/obsreport_exporter.go +++ b/obsreport/obsreport_exporter.go @@ -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 } diff --git a/obsreport/obsreport_processor.go b/obsreport/obsreport_processor.go index fe48b2a241d..fdc492211a8 100644 --- a/obsreport/obsreport_processor.go +++ b/obsreport/obsreport_processor.go @@ -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 }