aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_instrumentation.md
diff options
context:
space:
mode:
authorYounes SERRAJ <younes.serraj@gmail.com>2019-04-17 19:25:46 +0200
committerYounes SERRAJ <younes.serraj@gmail.com>2019-04-17 19:33:16 +0200
commit78260d5663702f153f6bae64073f9659de366946 (patch)
tree99cc5cbb1a94f961e4651cd1fcab0190d779d171 /guides/source/active_support_instrumentation.md
parent72842b36953f1620b59d3fed4d748a8cfab986c3 (diff)
downloadrails-78260d5663702f153f6bae64073f9659de366946.tar.gz
rails-78260d5663702f153f6bae64073f9659de366946.tar.bz2
rails-78260d5663702f153f6bae64073f9659de366946.zip
Mention more ActiveStorage hooks in Active Support Instrumentation guide [ci skip]
Hooks added: - `service_download_chunk.active_storage` - `service_update_metadata.active_storage` - `preview.active_storage`
Diffstat (limited to 'guides/source/active_support_instrumentation.md')
-rw-r--r--guides/source/active_support_instrumentation.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index e5ed283c45..4868b00bbe 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/guides/source/active_support_instrumentation.md
@@ -545,6 +545,14 @@ Active Storage
| `:key` | Secure token |
| `:service` | Name of the service |
+### service_download_chunk.active_storage
+
+| Key | Value |
+| ------------ | ------------------------------- |
+| `:key` | Secure token |
+| `:service` | Name of the service |
+| `:range` | Byte range attempted to be read |
+
### service_download.active_storage
| Key | Value |
@@ -582,6 +590,23 @@ Active Storage
| `:service` | Name of the service |
| `:url` | Generated URL |
+### service_update_metadata.active_storage
+
+| Key | Value |
+| --------------- | ------------------------------ |
+| `:key` | Secure token |
+| `:service` | Name of the service |
+| `:content_type` | HTTP Content-Type field |
+| `:disposition` | HTTP Content-Disposition field |
+
+INFO. The only ActiveStorage service that provides this hook so far is GCS.
+
+### preview.active_storage
+
+| Key | Value |
+| ------------ | ------------------- |
+| `:key` | Secure token |
+
Railties
--------