Skip to content

Commit

Permalink
docs: Add browser dev tools image to aid explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaff committed Jul 7, 2023
1 parent dd05dc8 commit e4b5993
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ ActiveSupport::Notifications.subscribe("render.view_component") do |*args| # or
end
```

### Viewing instrumentation sums in the browser developer tools

When using `render.view_component` with `config.server_timing = true` (default in development) in Rails 7, the browser developer tools display the sum total timing information in Network > Timing under the key `render.view_component`.

![Browser showing the Server Timing data in the browser dev tools](../images/viewing_instrumentation_sums_in_browser_dev_tools.png "Server Timing data in the browser dev tools")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4b5993

Please sign in to comment.