
Queries with long measurement names and multiple GROUP BYs can easily generate giant unreadable labels. It would be ideal if users had some sort of control over how this happens. Many times the title of the chart, in the case above Container Memory, gets repeated in each of the entries along with a bunch of other non relevant information. In this case, as with many others I can think of, the lines should be labeled with a user defined tag value.
Yeah I'd love to see this addressed as well
Current proposal:
Legend Config option to the caret of every dashboard cell, and as a button to Data Explorer, and add a caret to precanned dashboard to allow legend configFurther Future:
linkedCells: {
legend: <cell_id>,
config: <cell_id>,
templateVariables: <cell_id>
}Filter by top or bottom N?
Hide/show measurement name?
Is the future linked cell thing an idea for putting the legend off to the side/bottom of the graph so that it's always visible? If the side thing then it would also be interesting later to be able to show summary stats about those series (e.g. first, last, min, max, mean).
@pauldix I still got those designs we put together that encapsulate some of those features
Filter by N sounds good.
And yes, hide/show measurement name.
And yes, the future linked cell is an idea for associating one cell with another, which would, yes, include putting a legend for one graph in another cell. To the side/bottom so that it could be always visible, yes. Good ideas @pauldix -- thanks
Is this feature still a part of Chronograf? I can't find any documentation on modifying the legend, and don't see any options in the dashboard.
cc @russorat
is this a thing? It's maddening that I can't control the legend text. Instead I get these stupid long labels and I can't read the values in the hover thingy.
@optimuspaul thanks for commenting! you can control the legend text using the SELECT field AS "custom_name" in the InfluxQL statements. If you have additional requirements or feature requests, please let us know in a new issue.
Is there plan to move out first part of the label AKA SELECT mean("used") AS "test", mean("active") AS "test2" FROM "telegraf"."autogen"."mem"
it displays labels in form of mem. test & mem.test2, and i want to be just test and test2
Hi, there's a problem with this.
If the measurement's name is too long, it makes the filter and sort buttons disappear from the other end of the display,
also I could not find a way to alias the measurements using regular expressions. There's a tag for this measurement and I want to select a part of this tag value as the legend, but I could not find a way to do so.
