add `instantiation.active_record` hook to instrumentation guide [ci skip]
the hook was added in 2a0d97bc89
This commit is contained in:
parent
ee372bdceb
commit
eb9f42b291
|
@ -252,6 +252,20 @@ INFO. The adapters will add their own data as well.
|
|||
| `:name` | Record's class |
|
||||
| `:connection_id` | `self.object_id` |
|
||||
|
||||
### instantiation.active_record
|
||||
|
||||
| Key | Value |
|
||||
| ---------------- | ----------------------------------------- |
|
||||
| `:record_count` | Number of records that instantiated |
|
||||
| `:class_name` | Record's class |
|
||||
|
||||
```ruby
|
||||
{
|
||||
record_count: 1,
|
||||
class_name: "User"
|
||||
}
|
||||
```
|
||||
|
||||
Action Mailer
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue