-
-
Notifications
You must be signed in to change notification settings - Fork 44
RequestRateTooLarge in AppInsights #112
Comments
Hello @Mortana89, No I don't think that these errors should be log-level silent (even though they are app level silent) because it is very handy to aggregate them and see how many of your requests failed in order to generate some interesting metrics, autoscaling azure functions etc. You can also base alerts on them to indicate that you need to take immediate action in terms of scaling. I think it's a handy thing to log. |
Hmm, I understand where you're going to, but the fact it's being logged under 'Exceptions' in AI is a bit annoying. |
Exceptions are not meant to indicate bugs but rather exceptional behavior and I think this specific one falls under this category. I could potentially add a flag on the AI package level to eagerly ignore it but I know for a fact that many users base alerts and autoscaling on it (including myself) and I can't just remove it. |
Why not use the Cosmos DB monitoring for that? That's what we do, we send alerts when the cosmos db throttled requests are abnormally high. |
Nah it shouldn't be much work. The reason for the code level logging is consistency of logs. It leads to simpler and more consistent queries. |
We're doing some load testing on our staging environment, and I'm seeing alot of the following in AI:
Microsoft.Azure.Documents.RequestRateTooLargeException
Shouldn't these type of errors be silent?
The text was updated successfully, but these errors were encountered: