influxdata / ui

UI for InfluxDB
93 stars 42 forks source link

make profile plan information easier to access #447

Open rogpeppe opened 3 years ago

rogpeppe commented 3 years ago

The flux/query plan field of the query profiler results is crucial for understanding how a query has been mapped to the underlying operations, and in particular which parts of the query have been pushed down to the storage layer.

Although you can hover over the field in the "raw data" view, it's only possible to get hold of the actual text by downloading the CSV as a file and copy and pasting from within that. Selecting the text in the field and copying it removes the newlines which hold important semantic information.

Ideally the UI would have the capability to show the graph graphically directly in the page, but failing that, it would be nice if it was possible to copy a text field including line breaks.

kristinarobinson commented 3 years ago

After talking to Roger, we're going to split this into two issues. This one will focus on maintaining new lines when copying data in Data Explorer, in both the Raw Data and the Table views, for any cell that is triple-clicked.

A new epic will be created for a feature request of creating an svg representation of the flux digraph, when the profiler options are enabled.

rogpeppe commented 3 years ago

For the record (mostly for my own benefit!), this page describes how to use the profiler.