autoexport: Change WithFallback options signatures #4877
Labels
area: exporter
Related to an exporter package
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Problem Statement
The current definition of fallback options is as following:
The problem is that we need to create an instance of a metric reader or span exporter and it may not even be needed/used (it may even leak resources).
Proposed Solution
Change the signature to accept a factory function e.g.
The text was updated successfully, but these errors were encountered: