grafana-flowcharting icon indicating copy to clipboard operation
grafana-flowcharting copied to clipboard

Version 1.0.0d / Grafana 8.5.6: queries with multiple result fields cannot be used

Open RedShift1 opened this issue 3 years ago • 6 comments

When a datasource query returns multiple fields, even though all fields are visible in the table view, you cannot select them from the "Apply to metrics" box. Even if you fill in the name manually, the value does not show up.

flowcharting_bug2

However if the query only returns 1 field, you can select them from the "Apply to metrics" box and the value does show up and can be used:

flowcharting_bug1

Grafana version: 8.5.6 Flowcharting version: 1.0.0d Browser: Chrome 102.0.5005.115 (Official Build) (64-bit) on Windows 10

RedShift1 avatar Jun 23 '22 07:06 RedShift1

Hi thx for your feedback. I'll try it

algenty avatar Jun 30 '22 12:06 algenty

this is somehow the same issue #347

I'm trying to map multiple interface (mostly link usage) values from zabbix (table view) grafik

to visualize the current usage: grafik

grafik

@RedShift1 thanks for bringing this down to a simple example

jeff42 avatar Jul 08 '22 14:07 jeff42

it is postgres ?

algenty avatar Jul 09 '22 09:07 algenty

it is postgres ?

No it is zabbix, but wen a single query returns multiple columns rule mapping is not possible

jeff42 avatar Jul 09 '22 13:07 jeff42

I have the same problem. I have a single query returning multiple columns (30 column), I can not select individual column in Metric column.

image

Grafana version: 9.1.0 Flowcharting version: 1.0.0d Database: Postgresql Browser: Firefox 103

curiousbaker avatar Aug 25 '22 07:08 curiousbaker

I there i have the same issue on postgres

this works and i can select bar select now() as time, 2 as bar

but this does not select now() as time, 2 as bar, 3 as foo

Is there a way to get multiple queries to work?

nimbit-software avatar May 22 '23 19:05 nimbit-software