-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana 8.0 incorrectly adding prefix label to grouped data #35390
Comments
Are you using the built in Postgres data source? can you show you query? |
I can replicate this. thanks for reporting this! |
@torkelo Just in case it's still needed. Here is an example query SELECT
$__timeGroupAlias(time, 30m, NULL),
name AS metric,
count(iv) AS value
FROM source
GROUP BY 1, 2
ORDER BY 1 |
@risoms the value column in that query is |
Since the data is coming from work. I can't unfortunately. |
This also happens with the MSSQL datasource, to reproduce it you can use the example on the MSSQL datasource documentation page, any graph will have the legend of value {then the metric name}. |
Temporary fix is to update SQL and return value AS Value (capital V) |
@torkelo Upgrade to which version of postgres? |
What happened:
Updated to Grafana 8.0. I'm noticing all of my plots are adding as a prefix the variable name used. If a function is used (i.e.
COUNT()
, the function would be prefixedWhat you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: