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
produces the following name in the legend of a timeseries-graph, in postgres, in timeseries-mode: sku.
the same scenario in the bigquery datasource produces cost sku.
the core sql datasources (postgres/mysql/mssql) handle the field-naming in a certain scenario in a special way. the situation is:
metric
for example, this sql query:
produces the following name in the
legend
of a timeseries-graph, in postgres, in timeseries-mode:sku
.the same scenario in the bigquery datasource produces
cost sku
.the reason is that posgres/mysql/mssql has this special code: https://github.com/grafana/grafana/blob/cdd3e1c77601a3b87d07678cc1e1aec27e9fbc04/pkg/tsdb/sqleng/sql_engine.go#L340-L354
it could be useful to add opt-in support for this naming behavior in some form.
open questions:
metric
, or should it be possible to set it on any field?NOTE: we do not want to make this the default behavior, it would be surprising for new users.
originally reported in #205
see also discussion in grafana/sqlds#109
The text was updated successfully, but these errors were encountered: