Skip to content

Update index.mdx #7659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/docs/product/profiling/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ description: "Profiling offers a deeper level of visibility on top of traditiona
- [PHP (including Laravel and Symfony)](/platforms/php/profiling/)
- [Browser JavaScript [beta]](/platforms/javascript/profiling/)
- [Go [experimental]](/platforms/go/profiling/)
- [Ruby [experimental]](/platforms/ruby/profiling/)
- [React Native [experimental]](/platforms/react-native/profiling/)
- [Ruby [beta]](/platforms/ruby/profiling/)
- [React Native [beta]](/platforms/react-native/profiling/)

</Note>

Profiling offers a deeper level of visibility on top of traditional tracing, removing the need for custom instrumentation and enabling you to build in [performance as a feature](https://blog.codinghorror.com/performance-is-a-feature/) from day one. Sentry's profiling feature builds upon our established [Performance Monitoring](/product/performance) capabilities to provide precise code-level visibility into application execution in a production environment. This allows you to quickly identify potential performance bottlenecks and visualize the call stack to find hot paths in your code.
Sentry's profiling feature builds upon our established [Performance Monitoring](/product/performance) capabilities to provide precise code-level visibility into application execution in a production environment. Profiling provides context at a deeper level than traditional tracing, enabling you to visualize the precise details of the call stack without the need for custom instrumentation. With Profiilng you can quickly identify hot paths in your code and understand potential performance bottlenecks, enabling you to build in [performance as a feature](https://blog.codinghorror.com/performance-is-a-feature/) from day one.

Sentry profiling supports common platforms for both Mobile and Backend applications:

Expand All @@ -39,15 +39,15 @@ This will take you to the **Transaction Summary** page where you'll see a list o

![Transaction Summary page](transaction-summary-page.png)

Transaction events that have a profile contain a link in the "Profile" column which will take you to a flame chart with details about that event. Learn how to read [Flame Charts and Flame Graphs](/product/profiling/flame-charts-graphs).
Transaction events that have a profile contain a link in the "Profile" column which will take you to a flame graph with details about that event. Learn how to read [Flame Graphs and Aggregated Flame Graphs](/product/profiling/flame-charts-graphs).

![Profile details page showing a flame chart](profile-details-flame-chart.png)
![Profile details page showing a flame graph](profile-details-flame-chart.png)

Alternatively, if you click on the "Event ID" for a transaction, you'll see a span waterfall where you'll can identify suspect spans - operations that may be impacting performance, including slow DB queries and HTTP requests. You can click on a span to see profile information, including the most frequently occurring code path (call stack with with exact line numbers), along with the approximate percentage of time required for that code path.

![Transaction showing call stack data from a profile](call-stack-transaction.png)

From this view, you can also click "View Profile" to zoom in on the flame chart.
From this view, you can also click "View Profile" to zoom in on the flame graph.

## Profiling Page

Expand All @@ -61,12 +61,12 @@ The "Suspect Functions" widget shows you a list of the functions that took the m

Using the Profiling page is typically an advanced workflow, enabling you to directly select transactions of interest and examine detailed profiling data.

Selecting one of the transactions will take you to the **Profile Summary** page below. On this page, you can examine the consolidated [flame graph](/product/profiling/flame-charts-graphs) that presents aggregated sample data for the selected transaction.
Selecting one of the transactions will take you to the **Profile Summary** page below. On this page, you can examine the aggregated [flame graph](/product/profiling/flame-charts-graphs) that presents aggregated sample data for the selected transaction.

![Transaction Profile summary page](transaction-profile-view.png)

## Learn More

To learn more about profiling tools, read the docs about [Flame Charts and Flame Graphs](/product/profiling/flame-charts-graphs).
To learn more about profiling tools, read the docs about [Flame Graphs and Aggregated Flame Graphs](/product/profiling/flame-charts-graphs).

<PageGrid />