提交 78260d56 编写于 作者: Y Younes SERRAJ

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`
上级 72842b36
......@@ -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
--------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册