You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoConfigurationCustomizer supports the ability to customize exporters using methods like addSpanExporterCustomizer.
Maybe you want to use environment variables to configure the OTLP exporters, but add further customization for parameters which aren't configurable (like retry, or custom default metric aggregation). So you'd expect to do something like:
The problem is that you can't access / extend the OTLP exporter parameters which were configured via environment variables, so you're essentially forced into doing all programatic configuration.
I propose we add OtlpGrpcSpanExporter toBuilder() methods to to each of the OTLP exporters. This would allow users to extend the environment variable based config like:
Notice that the user will have to be careful to close the previous exporter before creating a new one, else they'll have unclosed resources like thread pools floating around.
The text was updated successfully, but these errors were encountered:
AutoConfigurationCustomizer
supports the ability to customize exporters using methods like addSpanExporterCustomizer.Maybe you want to use environment variables to configure the OTLP exporters, but add further customization for parameters which aren't configurable (like retry, or custom default metric aggregation). So you'd expect to do something like:
The problem is that you can't access / extend the OTLP exporter parameters which were configured via environment variables, so you're essentially forced into doing all programatic configuration.
I propose we add
OtlpGrpcSpanExporter toBuilder()
methods to to each of the OTLP exporters. This would allow users to extend the environment variable based config like:Notice that the user will have to be careful to close the previous exporter before creating a new one, else they'll have unclosed resources like thread pools floating around.
The text was updated successfully, but these errors were encountered: