diff options
author | Younes SERRAJ <younes.serraj@gmail.com> | 2019-04-17 19:25:46 +0200 |
---|---|---|
committer | Younes SERRAJ <younes.serraj@gmail.com> | 2019-04-17 19:33:16 +0200 |
commit | 78260d5663702f153f6bae64073f9659de366946 (patch) | |
tree | 99cc5cbb1a94f961e4651cd1fcab0190d779d171 /guides | |
parent | 72842b36953f1620b59d3fed4d748a8cfab986c3 (diff) | |
download | rails-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')
-rw-r--r-- | guides/source/active_support_instrumentation.md | 25 |
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 -------- |