GitLab Knowledge Graph
This page contains information related to upcoming products, features, and functionality.
It is important to note that the information presented is for informational purposes only.
Please do not rely on this information for purchasing or planning purposes.
The development, release, and timing of any products, features, or functionality may be
subject to change or delay and remain at the sole discretion of GitLab Inc.
| Status | Authors | Coach | DRIs | Owning Stage | Created |
|---|---|---|---|---|---|
| ongoing | michaelangeloio
michaelusa
jgdoyon1
bohdanpk | ahegyi
shekharpatnaik
andrewn
dgruzd | michaelangeloio | devops analytics | 2025-10-12 |
概要
GitLab Knowledge Graph(Orbit)は、GitLab インスタンスのデータ(SDLC メタデータおよびコード構造)からプロパティグラフを構築し、ClickHouse SQL にコンパイルされる JSON ベースの Cypher 風 DSL を通じて公開する Rust サービスです。AI システム(MCP 経由)および人間のユーザー向けの統一コンテキスト API を提供します。
このサービスは 2 種類のデータをプロパティグラフ形式でインデックスします:
- SDLC メタデータ: Issue、マージリクエスト、CI パイプライン、ワークアイテム、グループ、プロジェクト、その他の GitLab エンティティを、Siphon CDC によって PostgreSQL から NATS を経由して ClickHouse にストリーミングする。
- コード: コールグラフ、定義、参照、リポジトリメタデータを Gitaly から取得し、ClickHouse のグラフテーブルにパースする。
アーキテクチャ
flowchart LR
GitLab[GitLab Core] -- CDC replication --> DIP[Data Insights Platform]
GKG -- Git RPC --> GitLab
DIP -- datalake --> CH[(ClickHouse)]
CH <-- graph tables --> GKG[Knowledge Graph · Orbit]
GitLab -. gRPC / AuthZ .-> GKG
style GitLab fill:#333,color:#fff,stroke:#333
style DIP fill:#6E49CB,color:#fff,stroke:#6E49CB
style CH fill:#FFCC00,color:#000,stroke:#FFCC00
style GKG fill:#FC6D26,color:#fff,stroke:#FC6D26設計ドキュメント
完全な設計ドキュメントは knowledge-graph リポジトリ のコードと並べて配置されています:
リソース
| リソース | 場所 |
|---|---|
| リポジトリ | gitlab-org/orbit/knowledge-graph |
| メインエピック | #19744 |
| プログラムページ | 内部ハンドブック |
最終更新 July 30, 2026: Merge pull request #483 from kyama0/translation/batch-2026-07-29-1 (
c955a93f)