You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search for `Apex Log Analyzer`from the extensions side bar in VS Code and click `Install` or
38
+
install from the VS Code market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
38
39
39
40
### Pre-Release
40
41
41
42
Click `Switch to Pre-Release Version` on the banner to get bleeding edge changes and help us to resolve bugs before the stable release.
42
43
43
44
### Command Pallette
44
45
45
-
- Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
46
-
- Click reload in the extensions tab.
46
+
Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
47
47
48
48
```sh
49
49
ext install financialforce.lana
50
50
```
51
51
52
-
### VSCode Marketplace
53
-
54
-
- Install from the VSCode market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
55
-
56
-
## Usage
52
+
### Show Analysis
57
53
58
-
Start the analysis either from a log you have already downloaded or by downloading a log from an org to view.
54
+
Start the analysis either from a log you have already downloaded or by downloading a log from an org.
59
55
On larger logs the analysis window make take a few seconds to appear.
60
56
61
-
### From an Open Log File
57
+
####From an Open Log File
62
58
63
59
With the `.log` file open in VSCode.
64
60
@@ -73,16 +69,17 @@ With the `.log` file open in VSCode.
73
69
or
74
70
1. Right click editor tab -> 'Log: Show Apex Log Analysis'
75
71
76
-
### Download a log
72
+
####Download a log
77
73
78
74
1. Open command pallette (CMD/CTRL + Shift + P) -> 'Log: Retrieve Apex Log And Show Analysis
79
75
80
-
## Features
76
+
## ✨ Features
81
77
82
-
-[**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
83
-
-[**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
84
-
-[**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
85
-
-[**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
78
+
- 🔥 [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
79
+
- 🌳 [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
80
+
- 🧠 [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
81
+
- 💾 [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
82
+
- 🔍 [**Find**](#find) - Find, highlight and step through matching text and log events on the Timeline, Call Tree, Analysis
86
83
87
84
### Timeline / Flame chart
88
85
@@ -97,14 +94,6 @@ The Timeline shows a visualization of code execution during a request’s execut
97
94
- Scroll left and right on the mouse to move the time line left are right, when zoomed
98
95
- Click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
99
96
100
-
#### Find
101
-
102
-
- CMD/CTRL + f to open find
103
-
- Events with matching text are highlighted, there is a different highlight for the current match.
104
-
- Previous match, next match and case sensitive search all supported.
105
-
- If the next matching event is off screen that event will be centered on the timeline.
106
-
- The find will match on Event Type or text in the event
107
-
108
97
#### Go to Call Tree
109
98
110
99
- Clicking an event in the Timeline will go to and select that event in the Call Tree.
@@ -131,13 +120,6 @@ Shows the call stack which can be expanded and collapsed. Clicking on a link wil
131
120
132
121
Each row shows event type, details such as method signature, self and total time as well as aggregated DML, SOQL, Throws and Row counts.
133
122
134
-
#### Find
135
-
136
-
- CMD/CTRL + f to open find
137
-
- Any matching text is highlighted, there is a different highlight for the current match.
138
-
- Previous match, next match and case sensitive search all supported.
139
-
- If the next matching text is within a parent that parent will be expanded.
140
-
141
123
#### Go to Code
142
124
143
125
Clicking the link in the event column will open the corresponding file and line, if that file exists in the current workspace.
@@ -163,13 +145,6 @@ Show analysis of method calls by showing Self Time, Total Time, Count (number of
- Any matching text is highlighted, there is a different highlight for the current match.
170
-
- Previous match, next match and case sensitive search all supported.
171
-
- If the next matching text is within a group that group will be expanded.
172
-
173
148
#### Sort
174
149
175
150
By default the Analysis table is sorted with the events that took the longest by Self Time at the top.\
@@ -199,13 +174,6 @@ Shows the SOQL and DML that occurred the number of rows returned, the time taken
199
174
200
175
The _Selectivity_ column will have a green tick if the query is selective, a red cross if it is not and will be blank if the selectivity could not be determine. Sorting on this column will sort the rows by relative query cost, this number can be seen by hovering the cell on the selectivity column.
201
176
202
-
#### Find
203
-
204
-
- CMD/CTRL + f to open find
205
-
- Any matching text is highlighted, there is a different highlight for the current match.
206
-
- Previous match, next match and case sensitive search all supported.
207
-
- If the next matching text is within a group that group will be expanded.
208
-
209
177
#### Sort
210
178
211
179
The rows can be sorted ascending or descending by DML/SOQL, Row Count and Time Taken and by Selectivity and Aggregations on the SOQL table.
@@ -237,7 +205,35 @@ For SOQL rows, to the right of the Call Stack is SOQL Analysis which shows infor
237
205
Click the header menu,`⋮`, and use `Export to CSV` to save the table content to a file.
238
206
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
239
207
240
-
## Settings
208
+
### Find
209
+
210
+
- CMD/CTRL + f to open find
211
+
- Any matching text is highlighted, the current match has a lighter hightlight.
212
+
- Previous match, next match and case sensitive search all supported.
213
+
214
+
#### Timeline
215
+
216
+
- If the next matching event is off screen that event will be centered on the timeline.
217
+
- The find will match on Event Type or text in the event
218
+
- The tooltip is shown for the current matching event, making it easy to view the event details such as Total or Self time.
Copy file name to clipboardExpand all lines: lana-docs-site/docs/docs/features.md
+38-38Lines changed: 38 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,15 @@
2
2
sidebar_position: 4
3
3
---
4
4
5
-
# Features
5
+
# ✨ Features
6
6
7
-
-[**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8
-
-[**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9
-
-[**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10
-
-[**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
7
+
- 🔥 [**Timeline / Flame chart**](#timeline--flame-chart) - Gain a deep understanding of code execution over time via a timeline flame chart and tooltips to show additional information about events.
8
+
- 🌳 [**Call Tree**](#call-tree) - View the execution path in a tree view with aggregated DML Count, SOQL Count, Throws Count, Row Count, Self Time and Total Time. Apply filters to filter the events.
9
+
- 🧠 [**Analysis**](#analysis) - Quickly identify which methods took the most time in aggregate.
10
+
- 💾 [**Database**](#database) - Identify which SOQL + DML executed the most, returned the most rows and took the most time.
11
+
- 🔍 [**Find**](#find) - Find, highlight and step through matching text and log events on the Timeline, Call Tree, Analysis
11
12
12
-
## Timeline / Flame chart
13
+
## 🔥 Timeline / Flame chart
13
14
14
15
The Timeline shows a visualization of code execution during a request’s execution. Each color represents a different Salesforce event type e.g DB, Method, SOQL etc. The length of a bar relates to realtime taken, a longer bar means that method took longer.
15
16
@@ -22,14 +23,6 @@ The Timeline shows a visualization of code execution during a request’s execut
22
23
- Scroll left and right on the mouse to move the time line left are right, when zoomed
23
24
- Click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
24
25
25
-
### Find
26
-
27
-
- CMD/CTRL + f to open find
28
-
- Events with matching text are highlighted, there is a different highlight for the current match.
29
-
- Previous match, next match and case sensitive search all supported.
30
-
- If the next matching event is off screen that event will be centered on the timeline.
31
-
- The find will match on Event Type or text in the event
32
-
33
26
### Go to Call Tree
34
27
35
28
Clicking an event in the Timeline will go to and select that event in the Call Tree.
@@ -47,21 +40,14 @@ The tooltip provides the following information.\
47
40
**Duration** - Made up of **Total Time** (time spent in that event and its children) and **Self Time** (time directly spent in that event).\
48
41
**Rows** - Shows **Total Rows** (rows from that event and its children) and **Self Rows** (rows directly from that event).
49
42
50
-
## Call Tree
43
+
## 🌳 Call Tree
51
44
52
45
Shows the call stack which can be expanded and collapsed. Clicking on a link will take you to that line in the class if it can be found in the current open project.
Each row shows event type, details such as method signature, self and total time as well as aggregated DML, SOQL, Throws and Row counts.
57
50
58
-
### Find
59
-
60
-
- CMD/CTRL + f to open find
61
-
- Any matching text is highlighted, there is a different highlight for the current match.
62
-
- Previous match, next match and case sensitive search all supported.
63
-
- If the next matching text is within a parent that parent will be expanded.
64
-
65
51
### Go to Code
66
52
67
53
Clicking the link in the event column will open the corresponding file and line, if that file exists in the current workspace.
@@ -81,19 +67,12 @@ Each column can be sorted by clicking the column header, this will sort the rows
81
67
82
68
The Call Tree can be navigated with the keyboard. The up and down keys will move between rows, the left and right keys will expand and collapse a parent within the tree.
83
69
84
-
## Analysis
70
+
## 🧠 Analysis
85
71
86
72
Show analysis of method calls by showing Self Time, Total Time, Count (number of times a method was called), name and type. Each column can be sorted ascending or descending by clicking the column header.
The _Selectivity_ column will have a green tick if the query is selective, a red cross if it is not and will be blank if the selectivity could not be determine. Sorting on this column will sort the rows by relative query cost, this number can be seen by hovering the cell on the selectivity column.
125
104
126
-
### Find
127
-
128
-
- CMD/CTRL + f to open find
129
-
- Any matching text is highlighted, there is a different highlight for the current match.
130
-
- Previous match, next match and case sensitive search all supported.
131
-
- If the next matching text is within a group that group will be expanded.
132
-
133
105
### Sort
134
106
135
107
The rows can be sorted ascending or descending by DML/SOQL, Row Count and Time Taken and by Selectivity and Aggregations on the SOQL table.
@@ -160,3 +132,31 @@ For SOQL rows, to the right of the Call Stack is SOQL Analysis which shows infor
160
132
161
133
Click the header menu,`⋮`, and use `Export to CSV` to save the table content to a file.
162
134
Focus the Analysis table and use `CMD / CTRL + c` to copy the table content to clipboard. This can then be pasted into a spreadsheet or other file.
135
+
136
+
## 🔍 Find
137
+
138
+
- CMD/CTRL + f to open find
139
+
- Any matching text is highlighted, the current match has a lighter hightlight.
140
+
- Previous match, next match and case sensitive search all supported.
141
+
142
+
### Timeline
143
+
144
+
- If the next matching event is off screen that event will be centered on the timeline.
145
+
- The find will match on Event Type or text in the event
146
+
- The tooltip is shown for the current matching event, making it easy to view the event details such as Total or Self time.
Search for `Apex Log Analyzer`from the extensions side bar in VS Code and click `Install` or
10
+
install from the VS Code market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
11
11
12
-
## Pre-Release
12
+
###Pre-Release
13
13
14
14
Click `Switch to Pre-Release Version` on the banner to get bleeding edge changes and help us to resolve bugs before the stable release.
15
15
16
-
## Command Pallette
16
+
###Command Pallette
17
17
18
-
- Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
19
-
- Click reload in the extensions tab.
18
+
Open command pallette (CMD/CTRL + Shift + P), paste `ext install financialforce.lana`, and press enter.
20
19
21
20
```sh
22
21
ext install financialforce.lana
23
22
```
24
-
25
-
## VSCode Marketplace
26
-
27
-
- Install from the VSCode market place by clicking install on [Visual Studio Code Market Place: Apex Log Analyzer](https://marketplace.visualstudio.com/items?itemName=financialforce.lana)
0 commit comments