Skip to content

Commit

Permalink
Merge pull request rails#36010 from yoones/add-activestorage-instrume…
Browse files Browse the repository at this point in the history
…ntation-hooks-to-guide

Mention more ActiveStorage hooks in Active Support Instrumentation guide [ci skip]
  • Loading branch information
georgeclaghorn committed Apr 17, 2019
2 parents 7230447 + 78260d5 commit 98a75b4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions guides/source/active_support_instrumentation.md
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 98a75b4

Please sign in to comment.