RepositoryPythonUSHoa Kỳ
dbt-labs

dbt-labs/metricflow

MetricFlow allows you to define, build, and maintain metrics in code.

1.9ksao
231fork
108issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: semantic-layer

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: data-modeling

#1 Repository của tuần

2
TINIX TRENDING·Chủ đề: business-intelligence

#2 Repository của tuần

📊 MetricFlow: Lớp ngữ nghĩa biến metric thành SQL chuẩn hóa

MetricFlow biên dịch định nghĩa metrics thành SQL có thể tái sử dụng, đảm bảo kết quả nhất quán khi phân tích dữ liệu.

MetricFlow là một semantic layer giúp định nghĩa và quản lý các metrics bằng code. Dự án do dbt Labs phát triển, biên dịch các định nghĩa metrics thành SQL rõ ràng, tối ưu và dịch sang ngôn ngữ SQL tương ứng với từng engine. Tên gọi "MetricFlow" phản ánh cách tiếp cận: các yêu cầu metrics được biên dịch thành kế hoạch truy vấn dựa trên dataflow, sau đó được tối ưu và dịch thành SQL.

✨ Điểm nổi bật

  • Semantic layer: Định nghĩa và quản lý toàn bộ logic metrics bằng code
  • SQL compilation: Biên dịch metrics thành SQL có thể tái sử dụng, nhất quán
  • Multi-hop joins: Hỗ trợ joins phức tạp giữa các nguồn fact và dimension
  • Các loại metrics phức tạp: Hỗ trợ ratio, expression, cumulative metrics
  • Thời gian đa dạng: Tích lũy metrics theo các độ phân rã thời gian khác nhau
  • Tích hợp dbt: Hoạt động với dự án dbt và adapter tương ứng
  • Tài liệu hướng dẫn: Cung cấp tutorial qua lệnh mf tutorial

💡 Vì sao đáng chú ý

MetricFlow không chỉ là công cụ tạo truy vấn, mà là lớp ngữ nghĩa kết nối logic metrics với SQL thực thi. Cách tiếp cận dataflow giúp tối ưu truy vấn và đảm bảo độ nhất quán khi phân tích dữ liệu theo các dimensions khác nhau. Đặc biệt hữu ích cho các nhóm data team cần chuẩn hóa cách định nghĩa và tính toán metrics trong toàn tổ chức.


#DataAnalytics #SemanticLayer #SQL #OpenSource #dbt #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
apache/superset

Apache Superset is a Data Visualization and Data Exploration Platform

75.7k
Nov 29, 2026
RepositoryRust
dbt-labs/dbt

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

14.2k
Nov 28, 2026
RepositoryGo
grafana/grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

78.4k
Nov 30, 2026
RepositoryTypeScript
openobserve/openobserve

Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, simple and highly performant alternative to Datadog, Splunk, and Elasticsearch with 140x lower storage costs and single binary deployment.

23.2k
Nov 27, 2026
RepositoryRust
cube-js/cube

📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics

21.3k
Nov 28, 2026
RepositoryRust
perspective-dev/perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.

12.0k
Dec 1, 2026
RepositoryTypeScript
ClickHouse/ClickStack

Resolve production issues, fast. An open source observability platform unifying session replays, logs, metrics, traces and errors powered by ClickHouse and OpenTelemetry.

10.1k
Nov 27, 2026
RepositoryGo
usefathom/fathom

Fathom Lite. Simple, privacy-focused website analytics. Built with Golang & Preact.

8.0k
Mar 18, 2026
RepositoryRust
quarylabs/quary

Open-source BI for engineers

2.4k
Nov 23, 2026