briangann / grafana-datatable-panel

Datatables.net based panel for Grafana
Apache License 2.0
83 stars 57 forks source link

Grafana Datatable Panel

Marketplace Downloads License

Twitter Follow Release CI (main)

Known Vulnerabilities Maintainability Test Coverage

This panel plugin provides a Datatables.net table panel for Grafana 8.x/9.x/10.x

NOTE: main branch is now v2.0.0 in progress, these docs are for v1.x

Screenshots

Paging enabled

Default Paging

Scrolling enabled

Scrolling

Light Theme with Paging

Light Theme with Paging

Numbered Rows and Compact Style

Numbered and Compact Rows

Options

Options Tab

Options

Same options as built-in table panel

Datatable Options Tab

Datatable Options

Table Display Options

Column Aliasing

Column Width Hints

Column Sorting

Table Options

Theme Settings

Thresholding

Row-based threshold coloring

Thresholding with Row Coloring

Cell based threshold coloring

Thresholding with Cell Coloring

Cell based threshold value coloring

Thresholding with Value Coloring

RowColumn threshold coloring

This option sets the row color to the "highest" threshold found for all cells in row.

It also sets the color for each cell according to the threshold (you can tell which columns actually exceeded the threshold).

This means - a row can have an overall color, with each cell indicating it's real threshold color.

Thresholding with RowColumn1

Thresholding with RowColumn2

RowColumn threshold coloring including row counter

Same as above, but with row counter included

Thresholding with RowColumn including row count

Features

TODO

Building

This plugin relies on Yarn, typical build sequence:

yarn install
yarn build

For development, you can run:

yarn install
yarn watch

The code will be parsed then copied into "dist" if the build passes without errors.

Docker Support

A docker-compose.yml file is include for easy development and testing, just run

docker-compose up

Then browse to (http://localhost:3000)

RPM

A spec file is included to facilitate RPM based deployments, to generate run

make rpm

External Dependencies

Build Dependencies

Acknowledgements

This panel is based on the "Table" panel by GrafanaLabs