mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix: Top table rendering and update docs (#64497)
Fix flame graph in test data and update docs
This commit is contained in:
parent
a8f201f8ab
commit
2f55911fa3
2
docs/sources/datasources/testdata/_index.md
vendored
2
docs/sources/datasources/testdata/_index.md
vendored
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user