Hi,
I was wondering if there is any way to rename the label on chronograf cells
ThankYou
Federico
Hi,
I was wondering if there is any way to rename the label on chronograf cells
ThankYou
Federico
Absolutely @Federico_Olivieri!
configure
from the drop-downHTH,
dg
Hi David,
Thanks for your reply. Probably my question was not such clear. I meant the labels of the graphs. For each graph, as label I have the query I run
ping.mean_average_etc_etc
Hope I made it clear now
If I understand correctly, you want to change the name of the label when you hover over the graph. You can do this by using AS
.
For example:
SELECT mean("usage_guest") AS "mean_usage_guest" FROM "telegraf"."autogen"."cpu" WHERE time > now() - 1h GROUP BY time(:interval:) FILL(null)
gives me a graph that displays cpu.mean_usage_guest
when I hover.
Thatâs great! Thanks Katy. What about the labels on the bottom left in my scree? seems they take just the last part of my host (.1, .1.128, etc)
Can I see your full query? Also, can I see a screenshot of the pop-up that shows when you edit a cell?
Sure.
Here the full query:
SELECT mean(âaverage_response_msâ) AS âaverageâ FROM âtelegrafâ.âautogenâ.âpingâ WHERE time > :dashboardTime: AND (âurlâ=âamazonâ OR âurlâ=âfacebookâ OR âurlâ=âgoogleâ) GROUP BY time(:interval:), âurlâ FILL(null)
Here the screen:
Thanks! Based on what I see here, the aliases in your static legend should update along with your the aliases in the hover legend.
So is it a bug? Can I use the AS
to rename the URL?
Let me try a few more things. I havenât seen the URLs represented quite like this before.
Perfect! Thanks a lot. Let me know if you need for something
I was able to reproduce this, so I think itâs worth filing an issue to resolve it. Would you be willing to file a GitHub issue here with some explanation?
Sure I will! Thanks for your help