Introducing a new way to review your PRs.

Read the announcement

getredash / redash

Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.

View on GitHub

20 documents · Updated Nov 11, 2026

overview

Knowledge Base updated: 2026-11-10

Redash knowledge base

Orientation

Redash is a self-hosted analytics platform: a Python backend manages organizations, identities, data sources, queries, results, dashboards, alerts, and HTTP APIs; a browser client provides the product interface.

Persistent application state is stored through the backend model and migration layers. Query results, scheduled work, and notification delivery are coordinated by worker processes and supporting services.

The repository also contains the reusable visualization library, visual-regression harness, build/test tooling, and an Astro-based public website.

flowchart LR
  U[Users] --> WC[Web client]
  WC --> API[Backend HTTP API]
  API --> APP[Application runtime]
  APP --> DB[(Application database)]
  APP --> Q[Query lifecycle]
  Q --> DS[Data sources / runners]
  Q --> R[Query results]
  APP --> D[Dashboards & visualizations]
  D --> VL[Visualization library]
  APP --> I[Identity & access]
  APP --> A[Alerts]
  A --> W[Workers & scheduler]
  W --> DS
  W --> N[Notification destinations]
  T[Development tooling] --> APP
  S[Public website] --> U

Glossary

  • Organization — the tenant boundary used to scope users, data sources, queries, and other product resources.
  • Query runner — a connector implementation that executes a query against a specific database, service, file, HTTP endpoint, or script-backed source.
  • Query result — stored output produced by query execution and exposed to product and API consumers.
  • Visualization — chart or presentation configuration associated with query-backed dashboard widgets.
  • Destination — a configured notification endpoint used for alert delivery.

Codebase-wide invariants

  • Tenant-aware resources must preserve organization scoping; evidence: redash/models/** and request-handler organization resolution under redash/handlers/**.
  • Database-model changes require an accompanying migration when schema persistence changes; evidence: redash/models/** and migrations/**.
  • Query execution must go through the query-runner abstraction rather than embedding source-specific execution in handlers; evidence: redash/query_runner/** and redash/tasks/**.
  • Browser-facing product changes must keep backend API contracts and client consumers compatible; evidence: redash/handlers/** and client/**.
  • JavaScript dependency and workspace changes must keep package.json and pnpm-lock.yaml consistent.

Routing table