Connections overview
A connection stores the credentials DataLoris uses to run checks in one PostgreSQL database or BigQuery project. Connections belong to a workspace, and only workspace admins can create or change them.
| Type | Status |
|---|---|
| PostgreSQL | Available |
| BigQuery | Available |
| Snowflake | Coming soon: can be saved, but nothing is checked yet |
Create a connection
Section titled “Create a connection”Open Connections in the sidebar and click Add connection. Pick the type, fill in the fields, and save. The optional Lineage namespace only matters if your lineage uses a non-standard namespace; see lineage naming.
Credentials are encrypted as soon as they reach DataLoris and are never shown again. To change them, enter new values.
Testing and status
Section titled “Testing and status”DataLoris tests a connection automatically when you create it, when you change its credentials and when you re-enable it. You can also click Test at any time.
| Status | Meaning |
|---|---|
| UNTESTED | The test is pending. |
| ACTIVE | The last test passed. |
| ERROR | DataLoris could not connect. The error message is shown on the connection. |
| DISABLED | Switched off by a user. Its tables are skipped in runs. |
You can only add a table from an ACTIVE connection. The Add asset wizard waits for the test, shows the error if it fails, and offers Test again.
A connection can’t be deleted while a table (asset) still uses it. Archive those assets first.
Allowed hosts
Section titled “Allowed hosts”DataLoris connects only to public addresses. When you save a connection, a host that is localhost,
a single-label name (like db) or a private IP is refused with “The host must be a public address”. The
check runs again each time DataLoris connects, against the resolved IP address, so a public name that
resolves to a private address also fails its test (destination not allowed).
What DataLoris runs
Section titled “What DataLoris runs”DataLoris only sends:
- aggregate queries for rules and profiles, such as
COUNT(*), null counts,COUNT(DISTINCT …)orMAX(updated_at); - metadata reads: column lists, table statistics and last-modified times;
- your own custom SQL rules, which must be a single read-only
SELECT.
It never reads rows into DataLoris and never writes to your database. On PostgreSQL every query runs in a
read-only transaction with a statement timeout; on BigQuery every query has a bytes-billed cap. Queries
are labelled so you can find them: PostgreSQL application_name values start with dataloris, and
BigQuery job ids start with dataloris.
Next: set up PostgreSQL or BigQuery.