-
We are currently using the PnP Core SDK in our solution and have encountered a situation where we suspect our requests are being throttled by Microsoft. Although we understand the SDK handles throttling internally, for our monitoring and debugging purposes, we require an explicit log of when throttling occurs and the advised wait/backoff time. Could you please advise if there's a way to configure the SDK to log:
This information would be helpful for our operation's transparency and efficiency. If this feature is not currently supported, could you consider it as a feature request? Thank you for your assistance in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you enable "Information" logging this should show up: |
Beta Was this translation helpful? Give feedback.
If you enable "Information" logging this should show up:
https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Services/Core/Http/RateLimiter.cs#L128
https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Services/Core/Http/RetryHandlerBase.cs#L111