Skip to content

Commit 4a88f56

Browse files
authored
Merge pull request #53 from product-science/morgachev/cloud-cost
Morgachev/cloud cost
2 parents 1c97957 + fc00995 commit 4a88f56

8 files changed

+63
-4
lines changed

docs/cloudcost/usage.md

+57-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,61 @@
22

33
## Detect expensive API
44

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.
69

7-
## Analyze trace
10+
![dashboard-view](../images/cco-dashboard-view.png)
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+
![api-breakdown](../images/cco-api-breakdown.png)
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+
![api-sessions](../images/cco-api-sessions.png)
31+
32+
When you open a particular user session, you’ll see details of all API calls
33+
within that session.
34+
35+
![user-session](../images/cco-user-session.png)
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+
![view-trace](../images/cco-view-trace.png)
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+
![trace-session](../images/cco-trace-view.png)
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.

docs/images/cco-api-breakdown.png

365 KB
Loading

docs/images/cco-api-sessions.png

289 KB
Loading

docs/images/cco-dashboard-view.png

326 KB
Loading

docs/images/cco-trace-view.png

464 KB
Loading

docs/images/cco-user-session.png

363 KB
Loading

docs/images/cco-view-trace.png

97.4 KB
Loading

mkdocs.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ nav:
3131
- API: regression-analysis/api.md
3232
- cURL example: regression-analysis/example.md
3333
- Cloud Cost:
34-
- Integration: cloudcost/integration/integration.md
35-
- JVM Agent: cloudcost/integration/jvm-agent.md
34+
- Overview: cloudcost/overview.md
35+
- Integration:
36+
- Common: cloudcost/integration/integration.md
37+
- JVM Agent: cloudcost/integration/jvm-agent.md
38+
- Usage: cloudcost/usage.md
39+
3640

3741
# Visual
3842
theme:

0 commit comments

Comments
 (0)