aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-11-08 16:37:02 +0900
committeryui-knk <spiketeika@gmail.com>2016-11-08 20:03:22 +0900
commit4582d5766a5e87aab28c941d65eed749da2220ab (patch)
tree7047a2764cffccb53519d003bf3cbd3dcb5dd62e /guides
parent1de3041e3be7be8477ee28c7ece616a5975321bd (diff)
downloadrails-4582d5766a5e87aab28c941d65eed749da2220ab.tar.gz
rails-4582d5766a5e87aab28c941d65eed749da2220ab.tar.bz2
rails-4582d5766a5e87aab28c941d65eed749da2220ab.zip
[ci skip] Add `render_collection.action_view` entry to AS instrumentation
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_instrumentation.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index 3fc9d9bfa9..2be3a1c4e2 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/guides/source/active_support_instrumentation.md
@@ -226,6 +226,22 @@ Action View
}
```
+### render_collection.action_view
+
+| Key | Value |
+| ------------- | ----------------------------------- |
+| `:identifier` | Full path to template |
+| `:count` | Size of collection |
+| `:cache_hits` | Count of cached partials (optional) |
+
+```ruby
+{
+ identifier: "/Users/adam/projects/notifications/app/views/posts/_post.html.erb",
+ count: 3,
+ cache_hits: 0
+}
+```
+
Active Record
------------