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.
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
Is there any way we can remove the metric value name from the legend? e.g. "SUM(octetDeltaCount)" in the screenshot below. I'm aware we can give the metric column an alias to make it looks nicer, but it still doesn't make much sense no matter what alias is there.
What I expect:
sourcePodName -> destinationPodName
What is provided:
SUM(octetDeltaCount) sourcePodName -> destinationPodName
Shall we expect the support to allow group by multiple columns directly? Instead of concat(col1, col2, ...)
Use variables in the display name:
https://grafana.com/docs/grafana/latest/panels/standard-options/#display-name
${__field.labels}
"Labels to Fields" Transformation (example below)
@scottlepp
Thanks a lot. I should make it clearer. I don't want to replace the field with a label. Instead, I want to remove the aggregation field from the legend.
If the query is:
select fieldA as time, fieldB, sum(fieldC)
from table
group by time, fieldB
The legend should only contain the groupby field -
fieldB
, right? But in the time-series panel, the legend is
sum(fieldC) fieldB
.
If you check with pie chart, the legend only contains the groupby field, which is desired, and different from time-series.