Microsoft publishes Polly based package which allows developers to configure retries for requests based on certain condition being true.
However, using this package results into retries not being captured in AI because AI thinks of them as duplicate requests and just captures the very first request.
I think this is happening due this following logic in AI package
I am adding a small repro of the issue. In startup.cs if you uncomment the line
AddHttpMessageHandler<TraceParentStrippingHandler>()
You will see 3 entries being recorded, otherwise only one (the very first request).
PollyAICompat.zip
Microsoft publishes Polly based package which allows developers to configure retries for requests based on certain condition being true.
However, using this package results into retries not being captured in AI because AI thinks of them as duplicate requests and just captures the very first request.
I think this is happening due this following logic in AI package
I am adding a small repro of the issue. In startup.cs if you uncomment the line
You will see 3 entries being recorded, otherwise only one (the very first request).
PollyAICompat.zip