Trino Grafana Data Source Plugin

Build

The Trino datasource allows to query and visualize Trino data from within Grafana.

Getting started

Drop this into Grafana’s plugins directory. To run it locally without installing Grafana, run it in a Docker container using:

docker run -d -p 3000:3000 \
  -v "$(pwd):/var/lib/grafana/plugins/trino" \
  -e "GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=starburst-data-trino" \
  --name=grafana \
  grafana/grafana-oss

Build

  1. Install dependencies

    yarn install
  2. Build plugin in development mode or run in watch mode

    yarn dev

    or

    yarn watch
  3. Build plugin in production mode

    yarn build
  4. Build backend plugin binaries for Linux, Windows and Darwin:

    mage -v
  5. Sign the plugin for private deployments

    yarn sign --rootUrls http://localhost:3000

GitHub

View Github