Skip to main content

BI Connectors

Qarion integrates with popular BI tools to scrape query definitions, dashboard structures, and usage data. These connectors use the same infrastructure as metadata connectors and follow the same configuration patterns.

Supported BI Tools

BI ToolScrape TargetsStatus
Apache SupersetSaved queries, chart SQL, dashboard-to-dataset mappings✅ Available
MetabaseQuestions/cards, query history, dashboard definitions✅ Available
LookerExplore definitions, Look SQL, dashboard tile references✅ Available
TableauWorkbook/datasource definitions via REST API✅ Available
Power BIDataset/report lineage via Scanner API🔜 Planned

Setting Up a BI Connector

BI connectors are configured in the same way as source system connectors:

  1. Navigate to Source Systems in your space
  2. Click Add Connector
  3. Select the BI tool type (e.g., "Superset", "Metabase")
  4. Enter the connection details:
    • URL — Base URL of your BI tool instance
    • Credentials — API key, username/password, or service account token
  5. Configure a sync schedule using a cron expression (e.g., 0 2 * * * for daily at 2 AM)
  6. Click Save and Test

What Gets Scraped

Saved Queries & Charts

The connector extracts SQL from saved queries and chart definitions. Each query is parsed to identify referenced tables and columns, which are then linked to products in your catalog.

Dashboards

Dashboard definitions are scraped to build dashboard-to-table lineage:

  • Each dashboard becomes a lineage node with the BI tool's icon
  • Charts within the dashboard create edges to the underlying tables
  • A link-back URL points to the original dashboard in the BI tool

Query History

Where supported, the connector pulls recent query history for aggregate usage metrics — query count per table, unique users, and popular columns.

Sync Schedule

BI connectors follow the same cron scheduling as metadata connectors. You can configure:

  • Manual sync — Trigger on demand from the connector detail page
  • Scheduled sync — Set a cron schedule for automatic periodic scraping

Query Log Mining

In addition to BI tool scraping, Qarion can mine query history directly from your data warehouse. This is configured on your existing warehouse connectors (Snowflake, BigQuery, PostgreSQL) and runs as a separate task that:

  1. Pulls recent query history from system views
  2. Parses SQL to extract table and column references
  3. Attributes queries to BI tool service accounts where identifiable
  4. Aggregates results into per-product usage statistics

Privacy & Anonymization

All query text is anonymized before storage — string and numeric literals are replaced with ? placeholders. This produces normalized SQL patterns suitable for grouping without exposing sensitive filter values.

-- Original:
SELECT * FROM orders WHERE customer_id = 'C-1234' AND amount > 1000

-- Anonymized:
SELECT * FROM orders WHERE customer_id = ? AND amount > ?