Collect e-mails before being sent
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
Piste de recherche
L’issue n’identifie pas les fichiers, les tests ni les points d’entrée à inspecter. Commencez par localiser les chemins de planification des notifications et des vérifications de ressources, puis définissez l’intervalle de regroupement, le comportement en cas d’échec immédiat, la gestion de la récupération et les tests nécessaires pour montrer que les notifications sont regroupées sans perdre les changements d’état.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Currently, GHC sends an e-mail whenever a resource check fails, and also when the resource check is working again. This is the case when you've set GHC_NOTIFICATIONS_VERBOSITY to False. With this variable set to True, you'll probably get even more e-mails.
I was performing a test with a large number of resources (close to 1000) and with a short test interval (every 5 minutes). The server being tested had some trouble coping with this test, so this was more a load test than a monitoring test. As a result GHC started sending a lot of e-mails, until a limit imposed by my provider was hit. This was worsened by the fact that earlier today a lot of tests failed due to wrong credentials being sent (HTTP 401 errors).
Would it be a good idea to have an option with which GHC can batch status reports and send them only after an interval has passed? For example, every minute, or every 5 minutes. Of course this means that the delivery of mails notifying the administrator of failures has a delay, so sending this interval too high is not advisable. Perhaps the first mail could be sent immediately, and any other mails within this interval could be batched.
Regarding my test: foremost this was just a test, but it made me think about differentiating between the type of checks which should be done. Some checks which have been added are meant to check the availability, where as other checks are meant to do more in depth checks on the content. The former checks could be performed at a higher interval than the latter. Nonetheless, I'm seeking a solution where I won't be hit by the limit imposed by my provider.
- Langage dominant
- Python
- Étoiles
- 92
- Forks
- 77
- Merge moyen
- 1 h 39 min
- PR mergées (30 j)
- 3
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de geopython/GeoHealthCheck
-
Data importOuvertequestion
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
geopython/GeoHealthCheck#522 · 1 commentaire ·
-
FTP ProbeOuverteenhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
geopython/GeoHealthCheck#520 ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
geopython/GeoHealthCheck#517 ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
geopython/GeoHealthCheck#483 · 1 commentaire ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
geopython/GeoHealthCheck#472 ·
Toutes les issues de geopython/GeoHealthCheck
Issues similaires
-
bug P1
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Toloka/tolokaforge#1947 ·
Les mainteneurs répondent en général sous 1 jour
-
SageMaker provider: streaming fails with NoStreamDataError on DJL Serving (LMI) endpointsPeut-être pris @balajiaru l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
UKGovernmentBEIS/inspect_ai#6127 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
pydot/pydot#601 · 4 commentaires ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
letsencrypt/cp-cps#361 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100