Handling several indexes per datasource

未關閉
#2 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

這個 Issue 還沒有評估資料。

描述

Currently, a quickwit datasource requires to define an index.

We want a user to be able to query different indexes (using the index pattern) or query multiple indexes with a single datasource.

Here is the proposed spec.

Datasource parameters

  • timestamp field(mandatory): This field is used across all views and ensures that all indexes used are on the same timestamp field. We could make it optional but we currently don't support querying multiple indexes with different timestamp fields.
  • timestamp output format (mandatory): we don't want the user to set this value, but I think we don't really have the choice for now. This format is used by the Grafana plugin to show correctly the datetime. We could guess the format at the backend plugin level though.
  • default index(optional): either an index ID or an index pattern or empty.

Query builder

We should add an index field filled with the default value in the query builder.

Validation

If an index or index pattern is defined, we can validate the timestamp field and timestamp field output format.

主要語言
TypeScript
星號
76
分支
45
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

quickwit-oss/quickwit-datasource 的其他 Issue

查看 quickwit-oss/quickwit-datasource 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。