mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add metadata to test frames to be processed
This commit is contained in:
parent
b8be50e219
commit
fc366a0ab4
@ -50,6 +50,7 @@ const nodes = new MutableDataFrame({
|
||||
['secondaryStat', ['1047.29ms (99.82%)']],
|
||||
['color', [0.9982395121342127]],
|
||||
]),
|
||||
meta: { preferredVisualisationType: 'nodeGraph' },
|
||||
});
|
||||
|
||||
function toFields(fields: Array<[string, unknown[]]>) {
|
||||
|
@ -433,6 +433,7 @@ function nodesFrame() {
|
||||
...value,
|
||||
name: key,
|
||||
})),
|
||||
meta: { preferredVisualisationType: 'nodeGraph' },
|
||||
});
|
||||
}
|
||||
|
||||
@ -480,6 +481,7 @@ function edgesFrame() {
|
||||
...value,
|
||||
name: key,
|
||||
})),
|
||||
meta: { preferredVisualisationType: 'nodeGraph' },
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user