Fix: Top table rendering and update docs (#64497)

Fix flame graph in test data and update docs
This commit is contained in:
Joey 2023-03-10 13:04:51 +00:00 committed by GitHub
parent a8f201f8ab
commit 2f55911fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@ You can assign an **Alias** to each scenario, and many have their own options th
- **CSV Metric Values**
- **Datapoints Outside Range**
- **Exponential heatmap bucket data**
- **Flame Graph**
- **Grafana API**
- **Grafana Live**
- **Linear heatmap bucket data**
@ -77,6 +78,7 @@ You can assign an **Alias** to each scenario, and many have their own options th
- **Slow Query**
- **Streaming Client**
- **Table Static**
- **Trace**
- **USA generated data**
## Import a pre-configured dashboard

View File

@ -45,7 +45,7 @@ const FlameGraphTopTableContainer = ({
let label, self, value;
let table: { [key: string]: TableData } = {};
if (data.fields.length === 6) {
if (data.fields.length > 3) {
const valueValues = data.fields[1].values;
const selfValues = data.fields[2].values;
const labelValues = data.fields[3].values;