certinia / debug-log-analyzer

Salesforce Apex debug log analyzer for Visual Studio Code - Visualize code execution via a Flame chart and identify performance and SOQL/DML problems via Method and Database analysis
https://marketplace.visualstudio.com/items?itemName=financialforce.lana
BSD 3-Clause "New" or "Revised" License
84 stars 18 forks source link

feat: more filtering options on timeline, analysis + database tabs #89

Open lcottercertinia opened 2 years ago

lcottercertinia commented 2 years ago

Is your feature request related to a problem?

Filter

  1. I want to be able to show / hide events based on the level they occur at.

e.g CONSTRUCTOR_ENTRY on occurs at a log level of FINE. If I filter to DEBUG on apex I should not see CONSTRUCTOR_ENTRY on the timeline.

  1. I would also like to be able to filter based on the log event type

e.g Show only events of type Apex Code or DB or show both Apex Code and DB only et.

Grouping being able to group would be great too, for example Group by type on analysis to see what takes most time? e.g flow, apex, db. maybe group by package, or namespace too?

Bottom up By namespace By type

Ui tweaks

  1. Add a filter button above grid
  2. Add a 3 vertical dots / actions menu button to the right of sort (move this out of the table header menu).

Describe the solution you'd like

It would be great if the filtering applied to the timeline + calltree views. We could possibly use the log level info at the top and change them into pickers to edit the log levels shown. As for the log event types would could may use the key at the bottom and click the ones to show/hide?

### Child issues
- [ ] #530 
lcottercertinia commented 2 years ago

We have had an upvote for namespace grouping

"Separate out database results by namespace. Since SOQL and DML has its own limits for certified managed packages, it's useful to see how this is split. "