-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[FEATURE REQ] The SDK Event Hubs service client builder can not use a custom TraceProvider #24086
Comments
@joshfree, do you know whom I could assign this issue to? |
I'll need to update EventHubs and ServiceBus first, after core is released next month. For OpenTelemetry it will be done in the following way: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/java/com/azure/core/tracing/opentelemetry/samples/TracingJavaDocCodeSnippets.java#L59 If you're keeping alternative tracing implementations, you can extend TracingOptions in a similar way to how it's done in azure-core-tracing-opentelemetry package. |
Modify ipv6 firewall rules swagger file of 2022-11-01 (Azure#24086) * modify ipv6 firewall rules swagger of 2022-11-01 * Update V5 tag
Is your feature request related to a problem? Please describe.
Azure SDKEvent Hubs builder can not use a custom
TraceProvider
, the trace provider usage in client builder is here, EventProcessorClientBuilder, EventHubClientBuilder. The new trace implementation of azure core tracer interface will use the same Spring Sleuth tracer from Spring Application Context, or else the tracer information will not be linked for the same request which comes from Spring MVC and finally call Azure SDK methods.Describe the solution you'd like
When building a service client, it's available to set a custom
TraceProvider
forEventHubClientBuilder
andEventProcessorClientBuilder
instance.Describe alternatives you've considered
No better solutions to achieve this feature.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: