Skip to content

Commit

Permalink
Update docs/platforms/javascript/guides/nuxt/features/component-track…
Browse files Browse the repository at this point in the history
…ing.mdx

Co-authored-by: Liza Mock <liza.mock@sentry.io>
  • Loading branch information
smeubank and lizokm committed Sep 16, 2024
1 parent 0a75417 commit 749235d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ By default, the Nuxt SDK tracks the rendering performance of your app (that is,

You can also track your app's child components to get more details about the rendering process. This feature will create spans for each tracked component instance. The spans are called **`ui.vue.[hook]`** where `[hook]` is replaced by each tracked lifecycle stage. For example, the span representing the mount stage (the time between `beforeMount` and `mounted`) is called `ui.vue.mount`.

To set it up, add, at minimum, [`trackComponents`](#trackcomponents) in your `Sentry.init` call. Optionally, you can also add [`hooks`](#hooks), and [`timeout`](#timeout).
To set it up, add [`trackComponents`](#trackcomponents) in your `Sentry.init` call. You can also optionally add [`hooks`](#hooks), and [`timeout`](#timeout).

#### `trackComponents`

Expand Down

0 comments on commit 749235d

Please sign in to comment.