influxdata / chronograf

Open source monitoring and visualization UI for the TICK stack
https://www.influxdata.com/time-series-platform/chronograf/
Other
1.51k stars 257 forks source link

Dashboard Table Graph Format #1686

Closed cryptoquick closed 6 years ago

cryptoquick commented 7 years ago

@nathanielc asked about displaying data in a table format, and we don't currently support that as a graph type on the dashboard.

nhaugo commented 7 years ago

Dupe of #1031

jaredscheib commented 7 years ago

Not quite @nhaugo – #1031 is about Data Explorer, whereas this one's about Dashboard. Re-opening for now (the other one was closed anyway).

botzill commented 6 years ago

Hey guys,

Any plans to add such graph in the future ?

nhaugo commented 6 years ago

@botzill yes, but it is not currently schedule for any particular release.

nhaugo commented 6 years ago

See also #2246

russorat commented 6 years ago

customer feedback: this would be really useful for "Top N" tables that could be used for identify bad actors. For example, i have a list of the top apps/ips/services that are making requests and I can investigate apps that are making way too many.

hasselrot commented 6 years ago

Would be extremely useful! Any updates on this?

nhaugo commented 6 years ago

Hi @hasselrot, I don't can't give you an exact timing, but it is near the top of the list for 2018

121watts commented 6 years ago

this package might be useful https://github.com/bvaughn/react-virtualized

russorat commented 6 years ago

Initial Requirements:

alexpaxton commented 6 years ago

table-graph-design--v2.pdf

Included all the relevant details I can think of in here I can handle styling next week

alexpaxton commented 6 years ago

table-graph-design--v3.pdf

evo7master commented 6 years ago

We often need to compare two datasets at the same point in time, so it would be exceptionally useful to not mandate time series on one axis , but to allow comparison of multiple measurements at the same point in time in a matrix, see example below:

screen shot 2018-02-20 at 12 08 16 pm
russorat commented 6 years ago

thanks @evo7master ! we will see what we can do to tackle that use case.

megastef commented 6 years ago

Please check ReactJS / Redux Data Table called Sematable https://github.com/sematext/sematable. Sematable has probably all required features, is open source, and is well maintained. The data table component is used in production for Sematext Cloud to show a large number of logs, events and alerts. Announcement Blog post (2016): https://sematext.com/blog/reactjs-redux-table-sematable/

ischolten commented 6 years ago

Thanks so much @megastef! We are leaning towards react-virtualized at the moment due to the potential size of the data and the accompanying need for windowing/lazy-loading. But it's really nice to know that you are following our feature development. Thanks again!

ebb-tide commented 6 years ago

end of base functionality forinit PR. #2905 backend base functionality #2968


merged:


in progress:

alexpaxton commented 6 years ago

TableOptions shape

cell: {
  tableOptions: {
    timeFormat: '',
    verticalTimeAxis: bool,                   
    sortBy: {
      internalName: '',
      displayName: '',
      visible: '',                               // added -is
    },
    wrapping: '',
    fieldNames: [                    // changed from columnNames
  {
      internalName: '',
      displayName: '',
      visible: true                            // added -is
    }],
    fixFirstColumn: true                // added -dk
}

in the backend, type TableColumn is changing to RenamableField.

stevebang commented 6 years ago

Rename "Fix First Column" to "Lock First Column"

@russorat In the Table Controls, the option "Fix First Column" should be renamed to "Lock First Column". Here are a couple of examples where the term "lock" is used:

"Freeze" is often mentioned, but "lock" seems less ambiguous. When "freeze" is used, it is often documented as "to freeze (lock)" Or, as above, "Freeze panes to lock rows and columns". I think that "lock" is the least confusing, and if others have to repeatedly explain "freeze" by saying "lock", enough said. I did see in AirTable, their docs confusingly repeat the phrase "freeze (lock)" in explaining how to use the functionality, and at the end used the term "fixed" once. The term "fix" can be very confusing and difficult to translate meaningfully.

IBM in one instance refers to this as "Lock Column as Header" -- we could say "Lock First Column as Header", but I can see the first column being used for comparison and not as a header.

russorat commented 6 years ago

after looking at this, i've asked @alexpaxton to look into a simple way to format numbers in the table.

russorat commented 6 years ago

also, eventually, we may be able to use influxql functions for this: https://github.com/influxdata/influxdb/issues/9625 https://github.com/influxdata/influxdb/issues/9626 https://github.com/influxdata/influxdb/issues/9627 https://github.com/influxdata/influxdb/issues/9628

alexpaxton commented 6 years ago

screen shot 2018-03-23 at 12 43 19 pm

The UI for number formatting would be super simple (at least for this initial release) The input would be type="number" to prevent users inputting decimals or non-numerical characters. You can also enforce a max/min from the HTML itself.

This input would either truncate the value or add 0s to the end depending on the value

I'm also thinking that we should right-align cells with numerical data to ensure the decimal point is vertically aligned within each column. I arbitrarily put 3 as a reasonable default for decimal places to show.

I think in the future we'll move towards scoping some of these options (thresholds, decimal places, suffix/prefix) by column instead of applying to the whole table

russorat commented 6 years ago

I think that makes sense

russorat commented 6 years ago

image

russorat commented 6 years ago
micw commented 6 years ago

Great work! Will there be an initial version available in 1.4.4?

russorat commented 6 years ago

feedback from demo:

russorat commented 6 years ago

Found this issue with table graphs. When jumping to the CEO, the query and visualization jumps back to the old mode.

kapture 2018-04-27 at 12 41 01

russorat commented 6 years ago
russorat commented 6 years ago

Final few requests after using this for a little bit:

russorat commented 6 years ago

kapture 2018-05-03 at 17 10 06