Skip to content

Commit

Permalink
Mention more ActiveStorage hooks in Active Support Instrumentation gu…
Browse files Browse the repository at this point in the history
…ide [ci skip]

Hooks added:
- `service_download_chunk.active_storage`
- `service_update_metadata.active_storage`
- `preview.active_storage`
  • Loading branch information
yoones committed Apr 17, 2019
1 parent 72842b3 commit 78260d5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions guides/source/active_support_instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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
--------

Expand Down

0 comments on commit 78260d5

Please sign in to comment.