1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-07-13 01:00:22 +02:00

Refactor exporter creation functions (#1985)

* Remove InstallNewPipeline/NewExportPipeline funcs

* Rename stdout NewExporter to New

* Rename prometheus NewExporter func to New

* Rename Jaeger exporter NewRawExporter func to New

* Rename zipkin exporter NewRawExporter func to New

* Rename otlp exporter creation funcs

* Rename processortest exporter creation funcs

* Update PR number in changelog

* Fix spelling error

* Rename remaining NewUnstartedExporter in otlp

* Remove unused testing file
This commit is contained in:
Tyler Yahn
2021-06-10 16:22:47 +00:00
committed by GitHub
parent 87cc1e1fea
commit 4883cb119d
48 changed files with 237 additions and 755 deletions

View File

@ -66,7 +66,7 @@ func init() {
}
func newExporter() *processortest.Exporter {
return processortest.NewExporter(
return processortest.New(
export.StatelessExportKindSelector(),
attribute.DefaultEncoder(),
)