Skip to content
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

[SUPPORT] Is it expected behavior that my teams only receives notifications every 5 min if yes where can that be adjusted? #348

Open
jonathan-dev opened this issue Apr 23, 2024 · 1 comment
Labels

Comments

@jonathan-dev
Copy link

Description

I have The Docker image idealista/prom2teams:4.2.1 Deployed and it works fine. The only thing is that messages only show up with 5min gaps between then. Although the alerts are visible in on the prometheus dashboard way earlier.

Is this behavior to be expected or where can I set the value for it an make it react quicker?

@jonathan-dev
Copy link
Author

I think I figured out the reason for my delays: To prevent bots from spamming teams returns 429 Too Many Requests after receiving many request (https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/rate-limit#handle-http-429-responses). However this leads to unhandled exceptions Only being shown at the start up of the container and not lower down in the logs. Maybe this exception could be handled more clearly or also clarified further down the line that an timeout is used to prevent the webhook from returning 429 or whatever is happening here exactly.

And is there any way to start posting to that webhook protected by 429 responses in a more frequent way again or do we need to create a new one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant