Skip to main content

Metriql Metabase integration

Project description

Metriql Metabase Integration

Synchronize Metabase datasets from Metriql datasets. The idea is to leverage Metriql datasets in your Metabase workflow without any additional modeling in Metabase.

Usage

The library is available in PyPI so you can install it via pip as follows:

pip install metriql-metabase

The library expects stdin for the Metriql metadata and interacts with Metabase via its API. Here is an example:

curl http://metriql-server.com/api/v0/metadata | metriql-metabase --metriql-url http://metriql-server.com --metabase-username USERNAME --metabase-password PASSWORD --metabase-database METABASE_DATABASE_NAME sync-database

You can use --file argument instead of reading the metadata from stdin as an alternative.

Available commands are list-databases, sync-database.

FAQ

Do you support Metabase Cloud?

Yes!

How is this related to dbt-metabase?

While this metriql-metabase is heavily influenced by the dbt-metabase codebase, it integrates Metabase with Metriql, not directly to dbt. While you need to maintain Metriql as a separate service, here are advantages of Metriql over dbt-metabase:

  • You can define the metrics as native SQL
  • You can leverage Aggregates to speed up your queries
  • Sync the datasets into various data tools, not just Metabase
  • Native MQL experience when running ad-hoc queries on data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metriql-metabase-0.5.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

metriql_metabase-0.5-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page