You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a CH schema with a field defined as Map(String,String). When we try to perform a simple query from Grafana on the TimeSeries panel and as TimeSeries format, the Map value is not expanded and not included as part of the serie. It is working as "Table format" mode.
The idea is to be able to retrieve the value as a dict (or map[string]string) and use the Extract Field Grafana transformation to generate the desired columns, but the generated dataframe seems to concat the string values with an object Object result, being unable to use it.
The following snippet is the "Support" feature that extracts the result Dataframe processed by the backend, with no transformations. There you can check that the generated dataframe is built with Name - Value - Time, with the non-expanded map is set as [object Object] on the dataframes name
Thanks @Slach for reading it and setting up as 2.6.0 milestone.
I think the current issue, is also related with the current dataframes: the plugin is using and old implementation (Name/Time/Value), which seems a bit abandoned by the Grafana team... (#478 ) and we cannot take profit of the different "labels" features,
Sorry about the following question, but it is an stopper for us and our internal roadmap:
Do you have an estimated release date for 2.6.0?
SELECT
$timeSeries as t,
count() AS value,
concat(toString(id),'', toString(attributes)) AS label
FROM $table
WHERE $timeFilter
GROUP BY
t,
label
ORDER BY t
Hi,
We have a CH schema with a field defined as
Map(String,String)
. When we try to perform a simple query from Grafana on theTimeSeries
panel and asTimeSeries
format, the Map value is not expanded and not included as part of the serie. It is working as"Table format"
mode.The idea is to be able to retrieve the value as a
dict
(ormap[string]string
) and use theExtract Field
Grafana transformation to generate the desired columns, but the generated dataframe seems to concat the string values with anobject Object
result, being unable to use it.The following snippet is the "Support" feature that extracts the result Dataframe processed by the backend, with no transformations. There you can check that the generated dataframe is built with
Name - Value - Time
, with the non-expanded map is set as[object Object]
on the dataframes namePanel debug snapshot dashboard
Repro case:
The text was updated successfully, but these errors were encountered: