greptimedb

開源可觀測性資料庫。單一列式引擎,用於指標、日誌和追蹤,建置於物件儲存之上。

greptimedb 是什麼?

開源可觀測性資料庫。單一列式引擎,用於指標、日誌和追蹤,建置於物件儲存之上。

greptimedb 概覽

這是什麼

GreptimeDB 是一個開源的觀測性資料庫。它使用單一的列式引擎來處理指標、日誌和追蹤,並將資料儲存在物件儲存上。所有訊號共用相同的表格模型:標籤、時間戳記和欄位。當訊號帶有共同的識別碼(例如服務、主機或追蹤 ID)時,使用者可以在 SQL 中進行關聯查詢,而無需在資料庫之間移動資料。

主要功能

  • 透過 OpenTelemetry (OTLP)、Prometheus Remote Write、Loki Push、Elasticsearch Bulk、InfluxDB line protocol 和 gRPC 進行資料攝取
  • 使用 SQL、PromQL 和相容 Jaeger 的追蹤查詢;支援 MySQL 和 PostgreSQL 有線協定
  • 主要儲存於 S3、GCS、Azure Blob 及相容 S3 的端點,並搭配記憶體和本機磁碟快取
  • 內建管線,可在攝取時解析和轉換日誌,支援保留政策、降採樣、連續聚合、明確表格分割,以及反向/跳躍/全文索引
  • 運算與儲存分離:物件儲存保存資料,快取則將近期和頻繁查詢的資料保留在運算端附近
  • 可執行於獨立模式(單一二進位檔)或分散式模式,包含可獨立擴展的 Frontend、Datanode、Metasrv 及選用的 Flownode 元件

使用情境

  • 用單一後端取代分開的 Prometheus、Loki 或 Elasticsearch 部署
  • 處理超出 Prometheus 能力的高基數或長期保留需求,而無需採用 Thanos 或 Mimir
  • 克服日誌量增長時 Loki 的查詢效能限制
  • 在物件儲存上儲存長期遙測資料,無需額外的分析堆疊
  • 使用 SQL 而非領域特定查詢語言來查詢觀測性資料
  • 將 GenAI 或代理程式的遙測資料與基礎設施訊號一起儲存

快速開始

shelldocker run -p 127.0.0.1:4000-4003:4000-4003 -v $(pwd)/greptimedb_data:/greptimedb_data --name greptime --rm greptime/greptimedb:latest standalone start --http-addr 0.0.0.0:4000 --grpc-bind-addr 0.0.0.0:4001 --mysql-addr 0.0.0.0:4002 --postgres-addr 0.0.0.0:4003儀表板:http://localhost:4000/dashboard

授權與價格

GreptimeDB 是一個開放核心專案。其核心採用 Apache License 2.0 授權。少數周邊的企業專用功能由 enterprise Cargo 功能(預設不建置)控制,並受單獨的 GreptimeDB Enterprise License 規範。企業版的價格在提供的資料中未說明。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/greptimeteamgreptimedb.svg)](https://yunodb.com/tools/greptimeteamgreptimedb?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/greptimeteamgreptimedb?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/greptimeteamgreptimedb.svg" alt="Featured on YunoDB" height="20"></a>