diff options
author | Zachary Scott <e@zzak.io> | 2015-06-07 21:49:51 -0400 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2015-06-07 21:49:51 -0400 |
commit | 8fea749e2cabc9f44e0d0d10ba71c1770e834081 (patch) | |
tree | 7e085efbbbc3a2fec60831ec5ece9a246d2ca67c /guides/source | |
parent | 06dc5567dccfa9e9ffee7bf7ec28aab9f7262c02 (diff) | |
parent | eb9f42b2915f1bbe9b52139e1bc33644b3d64012 (diff) | |
download | rails-8fea749e2cabc9f44e0d0d10ba71c1770e834081.tar.gz rails-8fea749e2cabc9f44e0d0d10ba71c1770e834081.tar.bz2 rails-8fea749e2cabc9f44e0d0d10ba71c1770e834081.zip |
Merge pull request #20471 from y-yagi/add_instantiation_to_instrumentation_guide
add `instantiation.active_record` hook to instrumentation guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_support_instrumentation.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 1b14bedfbf..373dbbb9aa 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -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 ------------- |