Skip to content

Commit 8bdc55e

Browse files
committed
doc: add payload table for process.action_mailer event
1 parent 305b421 commit 8bdc55e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

instrumentation/action_mailer/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ end
6969

7070
Internal spans are named using the name of the `ActiveSupport` event that was provided (e.g. `deliver.action_mailer`).
7171

72-
The following attributes from the notification payload for the `deliver.action_mailer` event are attached:
72+
### Attributes attached to the `deliver.action_mailer` event payload
7373

7474
| Attribute Name | Type | Notes |
7575
| - | - | - |
@@ -79,7 +79,15 @@ The following attributes from the notification payload for the `deliver.action_m
7979
| `email.to.address` | Array | Receiver for mail (omit by default, include when `email_address` set to `:include`) |
8080
| `email.from.address` | Array | Sender for mail (omit by default, include when `email_address` set to `:include`) |
8181
| `email.cc.address` | Array | mail CC (omit by default, include when `email_address` set to `:include`) |
82-
| `email.bcc.address` | Array | mail BCC (omit by default, include when `email_address` set to `:include`) |
82+
| `email.bcc.address` | Array | mail BCC (omit by default, include when `email_address` set to `:include`) |
83+
84+
### Attributes attached to the `process.action_mailer` event payload
85+
86+
| Attribute Name | Type | Notes |
87+
| - | - | - |
88+
| `mailer` | String | Mailer class that is used to render the mail |
89+
| `action` | String | Method from the mailer class called to render the mail |
90+
| `args` | Array | Arguments passed to the method to render the email |
8391

8492
## Examples
8593

0 commit comments

Comments
 (0)