You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9f486e7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_create_response.py
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@
25
25
"BaselineMonitorsExtractBaseline",
26
26
"LastError",
27
27
"Webhook",
28
+
"WebhookFailure",
28
29
]
29
30
30
31
@@ -220,6 +221,27 @@ class Webhook(BaseModel):
220
221
"""
221
222
222
223
224
+
classWebhookFailure(BaseModel):
225
+
"""
226
+
Present while webhook deliveries are failing consecutively; null when deliveries are healthy or no webhook is configured. Cleared on the next successful delivery and when the webhook URL changes.
227
+
"""
228
+
229
+
consecutive_failures: int
230
+
"""Number of consecutive delivery attempts that did not succeed."""
231
+
232
+
last_failed_at: datetime
233
+
234
+
last_message: str
235
+
"""Human-readable description of the most recent failure."""
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_list_response.py
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@
26
26
"DataBaselineMonitorsExtractBaseline",
27
27
"DataLastError",
28
28
"DataWebhook",
29
+
"DataWebhookFailure",
29
30
]
30
31
31
32
@@ -221,6 +222,27 @@ class DataWebhook(BaseModel):
221
222
"""
222
223
223
224
225
+
classDataWebhookFailure(BaseModel):
226
+
"""
227
+
Present while webhook deliveries are failing consecutively; null when deliveries are healthy or no webhook is configured. Cleared on the next successful delivery and when the webhook URL changes.
228
+
"""
229
+
230
+
consecutive_failures: int
231
+
"""Number of consecutive delivery attempts that did not succeed."""
232
+
233
+
last_failed_at: datetime
234
+
235
+
last_message: str
236
+
"""Human-readable description of the most recent failure."""
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_retrieve_response.py
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@
25
25
"BaselineMonitorsExtractBaseline",
26
26
"LastError",
27
27
"Webhook",
28
+
"WebhookFailure",
28
29
]
29
30
30
31
@@ -220,6 +221,27 @@ class Webhook(BaseModel):
220
221
"""
221
222
222
223
224
+
classWebhookFailure(BaseModel):
225
+
"""
226
+
Present while webhook deliveries are failing consecutively; null when deliveries are healthy or no webhook is configured. Cleared on the next successful delivery and when the webhook URL changes.
227
+
"""
228
+
229
+
consecutive_failures: int
230
+
"""Number of consecutive delivery attempts that did not succeed."""
231
+
232
+
last_failed_at: datetime
233
+
234
+
last_message: str
235
+
"""Human-readable description of the most recent failure."""
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_update_response.py
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@
25
25
"BaselineMonitorsExtractBaseline",
26
26
"LastError",
27
27
"Webhook",
28
+
"WebhookFailure",
28
29
]
29
30
30
31
@@ -220,6 +221,27 @@ class Webhook(BaseModel):
220
221
"""
221
222
222
223
224
+
classWebhookFailure(BaseModel):
225
+
"""
226
+
Present while webhook deliveries are failing consecutively; null when deliveries are healthy or no webhook is configured. Cleared on the next successful delivery and when the webhook URL changes.
227
+
"""
228
+
229
+
consecutive_failures: int
230
+
"""Number of consecutive delivery attempts that did not succeed."""
231
+
232
+
last_failed_at: datetime
233
+
234
+
last_message: str
235
+
"""Human-readable description of the most recent failure."""
0 commit comments