|
2 | 2 |
|
3 | 3 | ## Detect expensive API
|
4 | 4 |
|
5 |
| -## Analyze as part of user session |
| 5 | +The Dashboard Screen provides a consolidated view of CPU |
| 6 | +and Storage usage, along with traffic and activity. |
| 7 | +Below the main dashboards, you'll find a detailed breakdown of |
| 8 | +these metrics for each API. |
6 | 9 |
|
7 |
| -## Analyze trace |
| 10 | + |
| 11 | + |
| 12 | +For each API call, you can see a breakdown by Direct and Indirect calls. |
| 13 | +Direct calls are the code synchronously execute during API request, while Indirect calls |
| 14 | +represent all side effects as asyncrously executed methods. |
| 15 | +Additionally, you can view specific |
| 16 | +user sessions related to each API call, helping you understand the context |
| 17 | +of the resource usage. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +By leveraging this high-level overview of your cloud resource consumption, |
| 22 | +you can quickly identify the most resource-intensive APIs and take action |
| 23 | +to optimize them. |
| 24 | + |
| 25 | +## Analyze as part of a user session |
| 26 | + |
| 27 | +For each API, you can select specific user sessions where the API was called. |
| 28 | +This provides valuable insights into the sequence and context of API calls. |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +When you open a particular user session, you’ll see details of all API calls |
| 33 | +within that session. |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +The User Session screen offers a detailed overview of each session. For a |
| 38 | +deeper dive and more granular insights, check out the trace view in the |
| 39 | +next section. |
| 40 | + |
| 41 | +## Analyze trace |
| 42 | + |
| 43 | +The Trace View provides a detailed recording of each user session, capturing |
| 44 | +all direct and indirect API calls, and highlighting any dependencies between them. |
| 45 | +To open a trace, click on the "View session in trace" button of the |
| 46 | +User Session screen. |
| 47 | +This comprehensive view helps you understand the full context of API |
| 48 | +interactions and resource usage. |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +By examining the trace file, you can identify specific points where performance |
| 53 | +can be optimized. You'll see how different calls interact, any dependencies |
| 54 | +causing delays, and where resource consumption spikes. This can help uncover |
| 55 | +hidden costs and unexpected behaviors that is not apparent from the |
| 56 | +high-level overview. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +With this deep dive into the trace data, you can make informed decisions to |
| 61 | +fine-tune your APIs and improve overall performance, ultimately reducing |
| 62 | +your cloud costs. |
0 commit comments