# Lightdash

**Lightdash** 是一个开源商业智能（BI）平台，它读取 dbt 项目中定义的模型、指标和维度，并将其作为 BI 探索界面和仪表盘呈现，从而使单一的 dbt 代码库同时充当数据转换层和受治理的分析语义层。<sup>[1](https://stackscape.org/en/p/lightdash/)</sup> 它由哈姆扎·乔杜里（Hamzah Chaudhary）和奥利弗·拉斯莱特（Oliver Laslett）于 2020 年创建，参加了 [Y Combinator](https://www.edgepedia.org/zh/y-combinator) 2020 年夏季批次，总部位于英国伦敦。<sup>[2](https://www.ycombinator.com/companies/hubble)</sup> 2021 年它发布时，一位 Hacker News 评论者称其为“开源版 Looker”，这个标签就此流传了下来。<sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup>

| 关键事实 | 详情 |
|---|---|
| 它是什么 | 基于 dbt 构建的开源 BI 平台；将 dbt 定义的模型、指标和维度作为探索界面和仪表盘呈现<sup>[1](https://stackscape.org/en/p/lightdash/)</sup> |
| 创始人与起源 | 哈姆扎·乔杜里（CEO）和奥利弗·拉斯莱特（CTO）；2020 年 1 月以数据咨询公司起步；Y Combinator 2020 年夏季批次<sup>[2](https://www.ycombinator.com/companies/hubble)</sup><sup> • </sup><sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup> |
| 首次发布 | 2021 年 4 月首次 GitHub 提交；2021 年 6 月在 Hacker News 上开源发布<sup>[4](https://www.lightdash.com/about)</sup> |
| 融资 | 2022 年 10 月融资 840 万美元；2024 年 10 月由 Accel 领投的 1100 万美元 A 轮融资<sup>[4](https://www.lightdash.com/about)</sup><sup> • </sup><sup>[5](https://www.accel.com/companies/lightdash)</sup> |
| 许可证 | `packages/backend/src/ee` 目录之外采用 MIT 许可证；自托管部署的企业功能需要许可证密钥<sup>[6](https://www.thirdbrain.tech/KB-TECH/REPORTING/open-source-bi-comparison)</sup><sup> • </sup><sup>[7](https://github.com/lightdash/lightdash)</sup> |
| 云服务定价 | Cloud Pro 起价每月 3,000 美元，不按席位计费；Cloud 提供 21 天试用，无永久免费计划<sup>[8](https://freeinsteadof.com/blog/open-source-bi-tool)</sup> |
| 社区 | 主仓库约有 6,200 个 GitHub 星标和 792 个复刻<sup>[9](https://github.com/lightdash)</sup> |

## 起源与融资

该项目最初是一个内部工具。乔杜里和拉斯莱特从 2020 年 1 月起经营一家数据咨询公司，Lightdash 起初是为运营该业务而构建的数据质量工具；当他们的一位客户看到这个工具并要求使用时，他们结束了咨询业务，全力投入产品开发。<sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup> 他们从 Y Combinator 2020 年夏季批次毕业，那是该加速器首个完全远程的批次，并于 2021 年 6 月在 Hacker News 上发布。<sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup><sup> • </sup><sup>[4](https://www.lightdash.com/about)</sup>

公开记录中有两轮融资。公司于 2022 年 10 月融资 840 万美元，2024 年 10 月又完成了由 Accel 领投的 1100 万美元 A 轮融资；Accel 的种子投资可追溯至 2022 年，合伙人是[安德烈·布拉索维亚努](https://www.edgepedia.org/zh/andrei-brasoveanu)（Andrei Brasoveanu）。<sup>[4](https://www.lightdash.com/about)</sup><sup> • </sup><sup>[5](https://www.accel.com/companies/lightdash)</sup> Lightdash 的 YC 简介列出了相关媒体报道，包括 [TechCrunch](https://www.edgepedia.org/zh/techcrunch) 2022 年 10 月的一篇报道，将该公司定位为 Looker 的挑战者，以及 TechCrunch 2024 年 10 月一篇关于 Accel 支持商业智能中 AI 应用的报道。<sup>[2](https://www.ycombinator.com/companies/hubble)</sup>

## 工作原理

Lightdash 围绕 dbt 项目而非自有的建模界面来构建。分析师在 dbt 项目的 YAML 文件中定义维度和指标，Lightdash 在其 Explore 视图中展示这些字段，用户可以在其中构建图表、应用筛选器并保存仪表盘。<sup>[10](https://docs.lightdash.com/get-started/setup-lightdash/how-to-create-metrics)</sup> 指标是应用于表维度的计算，例如对订单 ID 的 `count_distinct` 或对订单金额的 `sum`，Lightdash 支持以 dbt 语法或 Lightdash 自有语法定义的指标。<sup>[10](https://docs.lightdash.com/get-started/setup-lightdash/how-to-create-metrics)</sup> 其指标参考涵盖了聚合类型（如 count、sum、median 和 percentile）、非聚合类型，以及实验性的后计算指标（如累计总计和占总数的百分比）。<sup>[11](https://docs.lightdash.com/references/metrics)</sup>

**开发者工作流。** 开发通过命令行界面进行：`lightdash preview` 在临时项目中验证本地更改，`lightdash validate` 扫描当前图表和仪表盘以查找问题，`lightdash deploy` 将这些更改推送到生产项目。<sup>[1](https://stackscape.org/en/p/lightdash/)</sup> 图表和仪表盘的变更历史会被保留，并可与指标定义的变更一同追踪，公司于 2025 年 1 月推出了“仪表盘即代码”。<sup>[1](https://stackscape.org/en/p/lightdash/)</sup><sup> • </sup><sup>[4](https://www.lightdash.com/about)</sup> 当预定义指标缺失时，也可以直接从 Explore 视图即时添加自定义指标。<sup>[10](https://docs.lightdash.com/get-started/setup-lightdash/how-to-create-metrics)</sup>

**技术栈。** 主仓库是一个 [TypeScript](https://www.edgepedia.org/zh/typescript) 单一仓库，前端使用 React、Mantine、Vite 和 TanStack Query，后端使用 Node.js、Express、TSOA、Knex 和 [PostgreSQL](https://www.edgepedia.org/zh/postgresql)。数据仓库适配器涵盖 BigQuery、Snowflake、Redshift、Databricks、Postgres、Trino 和 [ClickHouse](https://www.edgepedia.org/zh/clickhouse) 等。该项目还提供 CLI、MCP 服务器、SDK、Git 集成和内容即代码工作流。<sup>[7](https://github.com/lightdash/lightdash)</sup>

## 部署与定价

Lightdash 有两种运行模式：托管云服务和自托管安装，项目为后者发布了自托管指南和 Helm 图表。<sup>[7](https://github.com/lightdash/lightdash)</sup> 自托管的开源版本在 MIT 许可证下免费，企业代码位于单独的许可目录中。<sup>[6](https://www.thirdbrain.tech/KB-TECH/REPORTING/open-source-bi-comparison)</sup> 在商业方面，Lightdash Cloud 于 2022 年 1 月进入内测，2023 年 1 月进入公测，2024 年 1 月正式全面可用。<sup>[4](https://www.lightdash.com/about)</sup> 一份第三方对比报告于 2026 年 10 月对照供应商页面进行了核查，列出 Cloud Pro 起价每月 3,000 美元，不按席位计费，提供 21 天试用，且没有永久的免费云计划。<sup>[8](https://freeinsteadof.com/blog/open-source-bi-tool)</sup>

## 嵌入式分析

面向客户的分析方面，Lightdash 提供三种集成路径，在定制化与维护成本之间取舍：嵌入签名 URL 的 iFrame、用于在 React 应用内构建原生质感组件的 React SDK，以及面向有严格设计系统的团队的“你的 UI 加我们的 API”路径。<sup>[12](https://embed.lightdash.com/)</sup> React SDK 于 2025 年 2 月发布，嵌入功能本身于 2024 年 2 月进入公测。<sup>[4](https://www.lightdash.com/about)</sup>

安全模型围绕签名的 JSON Web Token 构建，将每个查看者的访问范围限定在其应看到的内容上；来自令牌的用户属性流入 dbt 模型，因此行级限制存在于查询本身之中。嵌入式图表通过语义层运行，因此客户看到的数字与内部数字一致，嵌入式 AI 回答则基于代码中定义的指标。<sup>[13](https://www.lightdash.com/embedding)</sup> 定价按使用量计费：前 1,000 次嵌入加载免费，之后每次加载 0.05 美元，或选择可预测的套餐——每个嵌入工作器每月 790 美元，包含 100,000 次加载。<sup>[13](https://www.lightdash.com/embedding)</sup> 运输管理平台 Qargo 是一个有记录的采用者；其联合创始人兼 CTO 提到基于令牌的认证和 React SDK 是选择 Lightdash 而非其他嵌入式 BI 方案的原因。<sup>[13](https://www.lightdash.com/embedding)</sup>

## AI 功能

产品已转向其营销所称的“代理式 BI”。AI Analyst 于 2024 年 7 月进入内测，AI Agents 于 2025 年 6 月进入内测。<sup>[4](https://www.lightdash.com/about)</sup> 客户案例描述了团队直接使用这些功能的情况，包括 fal 由一人团队负责 80 人的数据工作，以及 Gen H 的首席商务官使用代理式 BI 在两天内交付了生产指标。<sup>[14](https://www.lightdash.com/customer-stories)</sup> 一份 2026 年的对比报告指出，Lightdash 的 AI 代理通过 dbt 语义层回答问题并遵守项目权限，作为付费附加组件出售，且 Lightdash 除了提供 CLI、SDK 和 Git 集成，还为外部编码代理提供了 MCP 服务器。<sup>[6](https://www.thirdbrain.tech/KB-TECH/REPORTING/open-source-bi-comparison)</sup><sup> • </sup><sup>[7](https://github.com/lightdash/lightdash)</sup>

## 采用与定位

Lightdash 的论点是：指标应当在数据仓库内可组合、受版本控制且对开发者友好，将数据分析师和分析工程师视为软件工程师。<sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup> 特斯拉是最早采用开源版本的团队之一。<sup>[3](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)</sup> 已发布的客户案例涵盖 [JustWatch](https://www.edgepedia.org/zh/justwatch)、Tatango、Stake、Neo Financial、Hypebeast 和 Ubie，报告成果包括 Collectors 将仪表盘重复率降低 36%、BI 成本降低 80%，以及 Tatango 在四周内构建了单一事实来源。<sup>[14](https://www.lightdash.com/customer-stories)</sup>

与其他开源 BI 工具相比，Lightdash 占据一个特定的细分市场：它与以 dbt 为中心的指标工作流保持一致，而 Metabase 定位于非技术用户自行提问的团队，[Apache Superset](https://www.edgepedia.org/zh/apache-superset) 面向大型自托管部署，Evidence 面向代码优先的报表。<sup>[8](https://freeinsteadof.com/blog/open-source-bi-tool)</sup><sup> • </sup><sup>[15](https://opensourcechoice.com/blog/best-open-source-power-bi-alternatives)</sup> 一份 2026 年面向 dbt 的 BI 工具对比描述了 Lightdash 契合的模式：当分析工程师在 dbt 中维护每个指标，且 BI 工具不得成为第二个事实来源时。<sup>[16](https://www.basedash.com/blog/bi-tools-for-dbt-how-to-choose-without-duplicating-your-metrics)</sup> 与 Looker 本身相比，对比论点是 dbt 项目成为受治理的 BI 层，Git 工作流、预览环境和 BI 即代码充当定义层。<sup>[17](https://www.basedash.com/vs/lightdash-vs-metabase)</sup> 在开源 BI 和语义层项目的目录列表中，Lightdash 被描述为将 dbt 模型指标直接暴露给 BI。<sup>[18](https://stackscape.org/en/l/bi-semantic/)</sup>

## References

1. [Lightdash: dbt-based BI, Stackscape](https://stackscape.org/en/p/lightdash/)
2. [Lightdash: The open source Looker alternative, Y Combinator](https://www.ycombinator.com/companies/hubble)
3. [Lightdash's third act: Building for the future of BI, Moonfire](https://www.moonfire.com/stories/lightdashs-third-act-building-for-the-future-of-bi/)
4. [Our story so far, Lightdash About Us](https://www.lightdash.com/about)
5. [Lightdash, Accel](https://www.accel.com/companies/lightdash)
6. [Open-source BI comparison, Third Brain](https://www.thirdbrain.tech/KB-TECH/REPORTING/open-source-bi-comparison)
7. [lightdash/lightdash on GitHub](https://github.com/lightdash/lightdash)
8. [Best Open-Source BI Tools 2026, Free Instead Of](https://freeinsteadof.com/blog/open-source-bi-tool)
9. [Lightdash organization on GitHub](https://github.com/lightdash)
10. [How to create metrics, Lightdash docs](https://docs.lightdash.com/get-started/setup-lightdash/how-to-create-metrics)
11. [Metrics reference, Lightdash docs](https://docs.lightdash.com/references/metrics)
12. [Lightdash Embedded Analytics showcase](https://embed.lightdash.com/)
13. [Lightdash Embedded Analytics](https://www.lightdash.com/embedding)
14. [Customer stories, Lightdash](https://www.lightdash.com/customer-stories)
15. [Best Open-Source Power BI Alternatives, OpenSourceChoice](https://opensourcechoice.com/blog/best-open-source-power-bi-alternatives)
16. [Best BI tools for dbt in 2026, Basedash](https://www.basedash.com/blog/bi-tools-for-dbt-how-to-choose-without-duplicating-your-metrics)
17. [Lightdash vs Metabase comparison, Basedash](https://www.basedash.com/vs/lightdash-vs-metabase)
18. [Open-source BI & semantic: 10 projects compared, Stackscape](https://stackscape.org/en/l/bi-semantic/)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data › Big data industry, companies, and products

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/lightdash

English original: https://www.edgepedia.org/lightdash
