arcodash 0.2: Open-Source SQL Dashboards in Rust with Automated Data Quality Checks for PostgreSQLNote · digest for December 1
3D frosted-glass UI still life for arcodash 0.2: a glass card with a green chart and a yellow-orange inspection lens catching a red dip of stale data.
Note3 sections≈ 4 min

arcodash 0.2: Open-Source SQL Dashboards in Rust with Automated Data Quality Checks for PostgreSQL

You open your orders dashboard in the morning — the chart is green and steady. You grab coffee. Meanwhile, at 3 a.m. the ingestion script crashed, and fresh rows stopped reaching the table. The SQL ran without errors and plotted yesterday's numbers. The business won't notice until noon.

Normally you guard against this with two separate systems: charts in Metabase or Redash, and checks in dbt or Great Expectations. arcodash 0.2 combines SQL dashboards and data quality monitoring in one self-hosted stack.

One Scheduler for Charts and Data Checks

A dashboard without table checks is like a speedometer with a snapped cable: the needle stays at 60 while the car sits on the shoulder. In arcodash, the same engine that draws charts checks that cable. You write a SQL query, publish it (only published queries appear on dashboards), and attach data quality monitors: freshness tracks the latest record timestamp, null rate catches spikes in NULL values, and row count spots drops or duplicate rows.

-- Count orders, latest event time, and share of missing customer_id
SELECT
  date_trunc('hour', created_at) AS hour_bucket,
  COUNT(*) AS orders_count,
  MAX(created_at) AS latest_event_at,
  ROUND(
    100.0 * COUNT(*) FILTER (WHERE customer_id IS NULL)
    / NULLIF(COUNT(*), 0),
    2
  ) AS null_customer_pct
FROM orders
WHERE created_at >= NOW() - INTERVAL '24 hours'
GROUP BY 1
ORDER BY 1 DESC;

On that single query you can attach freshness on latest_event_at, a threshold on null_customer_pct, and a volume check on orders_count. To avoid guessing thresholds by hand, baseline mode computes normal ranges after 7 initial runs from the last 30 checks using median and MAD (median absolute deviation, resilient to outliers). On a steady series, alerts trigger around ~37% (High), ~52% (Medium), or ~74% (Low) deviation.

Alerts go to Slack, email, webhooks, PagerDuty, Mattermost, Teams, Discord, Google Chat, or Datadog. With an Anthropic, OpenAI, or Gemini key, AI can also fix broken SQL and explain failures (only schema, query, and a few sample rows are sent).

Architecture and Quick Start with Docker Compose

The backend (Axum) and worker are written in Rust, and the frontend uses React with Vite. State lives in PostgreSQL, Valkey (the open-source Redis fork under Linux Foundation) runs the job queue, and a built-in object store holds query results, check history, and uploaded CSV/SQLite files. Beyond PostgreSQL, 20 other connectors are built in (ClickHouse, BigQuery, Snowflake, MySQL, MongoDB, Elasticsearch, Prometheus, HTTP JSON, and Query Results over other queries). Credentials are encrypted with ENCRYPTION_KEY, an egress guard blocks SSRF to private networks, and auth supports passwords, SAML 2.0, LDAP/AD, RBAC, and audit logs.

For a production database, always connect through a dedicated read-only role.

-- Read-only role for safe access to the public schema
CREATE ROLE arcodash_ro LOGIN PASSWORD 'replace-with-strong-password';
GRANT CONNECT ON DATABASE app_db TO arcodash_ro;
GRANT USAGE ON SCHEMA public TO arcodash_ro;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO arcodash_ro;
ALTER DEFAULT PRIVILEGES IN SCHEMA public
  GRANT SELECT ON TABLES TO arcodash_ro;

With that role, a buggy analytics query can't touch live data. arcodash itself launches via Docker Compose, with both a local setup (including Mailpit) and a production template.

# Local start: UI at http://localhost:3000, Mailpit at :8025
git clone https://github.com/arcodash/arcodash.git && cd arcodash
cp .env.example .env
docker compose up --build

# Production self-hosting (requires HTTPS proxy: Caddy, Nginx, or Traefik)
cp .env.selfhost.example .env
# Fill in POSTGRES_PASSWORD, DATABASE_URL, BASE_URL, API_BASE_URL,
# ADMIN_EMAIL, ADMIN_PASSWORD, SMTP_*, and secrets (openssl rand -hex 32):
# COOKIE_SECRET and ENCRYPTION_KEY
docker compose -f docker-compose.prod.yml up -d --build

The first launch compiles the Rust services on the host, so give it a few minutes. Without COOKIE_SECRET and ENCRYPTION_KEY the backend won't boot, and losing ENCRYPTION_KEY locks you out of encrypted data-source credentials.

Beta 0.2.0 Status and AGPL-3.0 License

Release v0.2.0 shipped on November 21, 2026 and just earned its first GitHub star — it is an early beta where storage formats may still change. Include pg_dump, the objectdata volume, and .env in backups (unpinned query results expire via RESULT_RETENTION_DAYS, 7 days by default). Under AGPL-3.0, internal company use is free, while modifying and selling it as a SaaS requires opening your source changes.

For a pilot or small team without a separate data-testing stack, arcodash 0.2 is ready to try on its demo database (docker compose --profile demo up -d demo-db). Replacing battle-tested Metabase or Superset in critical production, however, is still premature.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 3