From 0efe6dbaf4c1e7d6ed0d60e8df604a7f9832d573 Mon Sep 17 00:00:00 2001 From: Arun Subramanian Date: Mon, 13 Jun 2022 12:03:55 -0500 Subject: [PATCH 1/2] adding some notes --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f35025..dc61d74 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,14 @@ The PagerDuty Agent is completely open-source which means that you can download the source code and customize it for your needs. The Agent requires Python 2.7 or higher. The instructions here assume that you're -on a Mac. +on a Mac +# Notes +- If PagerDuty Agent loses connectivity for whatever reason, + - There is no hard limit on the number of events stored in the queue + - Once connectivity is regained, queued events will be pushed out automatically + +- If the agent runs up against the API Rate Limit, the rate limited events will be added to the queue of failed events, which will automatically be retried later + ## Developing From 5b9801a363ac9d470ab543328234555fc4e9375f Mon Sep 17 00:00:00 2001 From: Arun Subramanian Date: Tue, 14 Jun 2022 14:46:12 -0500 Subject: [PATCH 2/2] responding to PR feedback --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc61d74..bb94e0a 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,16 @@ the source code and customize it for your needs. The Agent requires Python 2.7 or higher. The instructions here assume that you're on a Mac # Notes -- If PagerDuty Agent loses connectivity for whatever reason, - - There is no hard limit on the number of events stored in the queue - - Once connectivity is regained, queued events will be pushed out automatically +Events are added to a local queue -- If the agent runs up against the API Rate Limit, the rate limited events will be added to the queue of failed events, which will automatically be retried later +- If PagerDuty Agent loses connectivity for whatever reason + - Events in the queue will fail to send and be retried and stored according to the agent's retry logic + - There is no hard limit on the number of events stored in the queue + - Once connectivity is regained, queued events may be pushed out automatically + - In the case of prolonged outages, sends can be manually retried + > + - If the agent runs up against the API Rate Limit, the rate limited events will be retried in perpetuty until they are either successfully delivered, or receive a `5xx` response, which will invoke the retry logic ## Developing