-
Notifications
You must be signed in to change notification settings - Fork 7
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
Should exporter configuration be nested or at top level? #12
Comments
What do you think about introducing the signal type for the exporters config? Something like this
|
I think that could work if those sections are nested under the respective providers:
I wonder if having exporters separate would cause confusion for users that don't understand that they need to be paired with a batch span processor / batch log record processor / periodic metric reader. |
Maybe for first-time users, but I think people who have some exposure the configuring the SDK would already know that processors and exporters are paired together. |
Related to #10, but specifically for exporters. Exporters could be defined at the top level and referenced by name, or could be expressed as nested arguments to the processors / metric readers which ultimately use them.
Let's talk about this!
Option 1: Exporters live at top level and are referenced by name
Advantages:
Disadvantages:
Example:
Option 2: Exporters are nested under the components that use them
Advantages:
Disadvantages:
Example:
The text was updated successfully, but these errors were encountered: