aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_instrumentation.md
diff options
context:
space:
mode:
authorSteve S <steves@github.com>2018-08-29 13:28:55 -0400
committerSteve S <steves@github.com>2018-08-29 13:28:55 -0400
commit26dc9bc8ee8639b1ad393f4f3f4fa3e1a397b70e (patch)
tree50bbf48e07b2f38149ac5a4dc1ef0e6eca7e8047 /guides/source/active_support_instrumentation.md
parent7e881a18d945d13f82619bd059569ecc0abbf17c (diff)
downloadrails-26dc9bc8ee8639b1ad393f4f3f4fa3e1a397b70e.tar.gz
rails-26dc9bc8ee8639b1ad393f4f3f4fa3e1a397b70e.tar.bz2
rails-26dc9bc8ee8639b1ad393f4f3f4fa3e1a397b70e.zip
Add hooks to ActiveJob around retries and discards
Diffstat (limited to 'guides/source/active_support_instrumentation.md')
-rw-r--r--guides/source/active_support_instrumentation.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index 3568c47dd8..8581817d71 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/guides/source/active_support_instrumentation.md
@@ -458,6 +458,14 @@ Active Job
| `:adapter` | QueueAdapter object processing the job |
| `:job` | Job object |
+### enqueue_retry.active_job
+
+| Key | Value |
+| ------------ | -------------------------------------- |
+| `:job` | Job object |
+| `:adapter` | QueueAdapter object processing the job |
+| `:error` | The error that caused the retry |
+
### perform_start.active_job
| Key | Value |
@@ -472,6 +480,22 @@ Active Job
| `:adapter` | QueueAdapter object processing the job |
| `:job` | Job object |
+### retry_stopped.active_job
+
+| Key | Value |
+| ------------ | -------------------------------------- |
+| `:adapter` | QueueAdapter object processing the job |
+| `:job` | Job object |
+| `:error` | The error that caused the retry |
+
+### discard.active_job
+
+| Key | Value |
+| ------------ | -------------------------------------- |
+| `:adapter` | QueueAdapter object processing the job |
+| `:job` | Job object |
+| `:error` | The error that caused the discard |
+
Action Cable
------------