-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
deprecate exporter API in obsreport #8493
deprecate exporter API in obsreport #8493
Conversation
The functionality has been moved into exporter helper. This is part of Signed-off-by: Alex Boten <[email protected]>
Signed-off-by: Alex Boten <[email protected]>
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
Signed-off-by: Alex Boten <[email protected]>
- `obsreport.Exporter` -> `exporterhelper.Exporter` | ||
- `obsreport.ExporterSettings` -> `exporterhelper.Settings` | ||
- `obsreport.NewExporter` -> `exporterhelper.New` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the new API naming is confusing. It still provides the functionality for telemetry reporting but the names don't reflect it anymore. Should we move it exporterhelper/obsreport instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #8499
These deprecated methods/structs have been moved to processorhelper: - `obsreport.BuildProcessorCustomMetricName` -> `processorhelper.BuildCustomMetricName` - `obsreport.Processor` -> `processorhelper.ObsReport` - `obsreport.ProcessorSettings` -> `processorhelper.ObsReportSettings` - `obsreport.NewProcessor` -> `processorhelper.NewObsReport` Same as the change for the exporter, no functional changes just moving code over to the new location. ~Follows #8493 --------- Signed-off-by: Alex Boten <[email protected]>
The functionality has been moved into exporter helper. This is part of #8492
There is no functional changes, just:
obsreport
toexporterhelper
obsreport.Exporter
,obsreport.ExporterSettings
,obsreport.NewExporter
obsreport.Exporter
->exporterhelper.Exporter
obsreport.ExporterSettings
->exporterhelper.Settings
obsreport.NewExporter
->exporterhelper.New