The Grafana Table Extended Plugin is an extension of the base Grafana table plugin with added features for enhanced functionality.
- Add Button to Table: Easily incorporate interactive buttons within your tables for seamless user interaction.
- Value Inspect for Images: Enable image inspection within the table for better visualization and analysis.
Download the latest release of the Button Table Plugin from this releases...
- Extract the downloaded plugin zip file.
- Locate your Grafana installation directory.
- If you installed Grafana manually: Find the directory where Grafana is installed.
- If you are using Docker: Locate the Grafana Docker container.
- Copy the extracted plugin folder into the Grafana plugins directory.
- For manual installations: Place the plugin folder in
<grafana_installation_directory>/data/plugins
. - For Docker: Mount the plugin folder into the container, typically done by adding a volume to the Docker run command.
- For manual installations: Place the plugin folder in
- Open the Grafana configuration file (
grafana.ini
). This file is usually located in the Grafana installation directory. - Add the following lines to your
grafana.ini
file:allow_loading_unsigned_plugins = ick-buttontable-panel
- Save the
grafana.ini
file.
If you are using Grafana via Docker, you need to configure the Docker run command to include the plugin.
-
Locate your Docker run command or Docker Compose file.
-
Add a volume to mount the plugin folder into the Grafana container. Example Docker run command:
docker run -d -p 3000:3000 --name=grafana -v {/path/to/plugin/folder}:/var/lib/grafana/plugins/ick-buttontable-panel grafana/grafana:latest
Replace
/path/to/plugin/folder
with the path to the plugin folder on your host machine. -
Add following lines to your docker_compose.yaml file:
environment: NODE_ENV: development GF_LOG_LEVEL: debug GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: ick-buttontable-panel
-
Restart the Grafana Docker container.
After placing the plugin in the correct directory and configuring Grafana, restart Grafana to apply the changes.
- Install dependencies
npm install --legacy-peer-deps
- Build plugin in development mode and run in watch mode
npm run dev
- Build plugin in production mode
npm run build
- Run the tests (using Jest)
# Runs the tests and watches for changes, requires git init first
npm run test
# Exits after running all the tests
npm run test:ci
- Spin up a Grafana instance and run the plugin inside it (using Docker)
npm run server
- Run the linter
npm run lint
# or
npm run lint:fix