-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Azure.Coreazure-coreazure-coreClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Milestone
Description
We have a customer who used azure core http client and tracing failed to work.
The workaround was to add HttpPolicyProviders.addAfterRetryPolicies(policies) to their azure core HttpClient instance.
Then it started working as expected.
public static void addAfterRetryPolicies(List<HttpPipelinePolicy> policies) {
policies.add(new InstrumentationPolicy());
addPolices(policies, AFTER_PROVIDER);
}
Should azure-core handled this automatically? or have a doc somewhere along with azure core HttpClient emphasizing the fact that InstrumentationPolicy is mandatory in order for the instrumentation to work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Azure.Coreazure-coreazure-coreClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Type
Projects
Status
Planned