Introducing Flights: agent-native data pipelines in MotherDuckJoin the livestream

Skip to main content

Grafana

Grafana is an observability and dashboarding platform for building dashboards, alerts, and exploratory views. The MotherDuck-maintained DuckDB data source plugin lets Grafana query local DuckDB files and MotherDuck databases.

How it works with MotherDuck

  1. Install Grafana 10.4.0 or later on a glibc-based Linux environment. If you use Docker, use an Ubuntu-based Grafana image instead of the default Alpine-based image.
  2. Download the DuckDB data source plugin from the GitHub releases page.
  3. Because the plugin is unsigned, allow motherduck-duckdb-datasource in Grafana's unsigned plugin configuration.
  4. Add a DuckDB data source in Grafana and provide a MotherDuck token.
  5. If md: does not work as the database path in a Docker deployment, leave the path blank and add ATTACH IF NOT EXISTS 'md:'; in the initialization SQL.