Tracing: Add node graph panel suggestion (#83311)

* Add node graph panel suggestion

* Update logic

* Add comment

* Check for correct fields

* Simplify logic

* Also check for viz type

* Remove extra logic on boolean
This commit is contained in:
Joey
2024-02-27 12:28:17 +00:00
committed by GitHub
parent d94db905c7
commit 92f53d3670
4 changed files with 112 additions and 36 deletions

View File

@@ -22,6 +22,7 @@ export const panelsToCheckFirst = [
'candlestick',
'flamegraph',
'traces',
'nodeGraph',
];
export async function getAllSuggestions(data?: PanelData, panel?: PanelModel): Promise<VisualizationSuggestion[]> {