Content last updated 2026-02-18

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.
StatusAuthorsCoachDRIsOwning StageCreated
ongoingmichaelangeloio michaelusa jgdoyon1 bohdanpkahegyi shekharpatnaik andrewn dgruzdmichaelangeloiodevops analytics2025-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
プログラムページ内部ハンドブック