Missing or malformed log fields for entries fetched by Grafana's "Scroll to load more" functionality

オープン
#219 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
grafana, typescript

調査の方向性

Start by tracing the datasource query path used by Grafana's “Scroll to load more” behavior, then compare how fields are assembled for the initial fetch and subsequent fetches. Use the linked index and log files to reproduce the missing Attributes.* fields in the additional entries; done means those fields appear correctly, with malformed values investigated if reproducible.

索引モデルが issue の本文から書いたものです。

説明

The datasource limits the initial number of log entries fetched, 100 entries by default. When additional log entries are fetched through the "Scroll to load more" functionality, newly-seen log fields that do not appear in the initially-fetched log entries may not show up in the query result.

This issue can be reproduced with the following index and log documents.

To reproduce the issue:

  • Set up a Quickwit datasource with the message field as the Message field name
  • Execute a * query against the datasource, limited to only fetch 36 lines of logs (in Tail mode)
  • Scroll down the query result; the last entry should be [#6] Type A. Click "Scroll to load more".
  • Five additonal log entries should show up. When expanding the [#4] Type B entry, none of its Attributes.* fields show up.

On the following image, the same log entry shows different logs depending on how many log entries are part of the initial fetch (left: all logs are part of the initial fetch, right: entries #5 to #1 are part of the additional fetch).
Image

We also have gotten reports about malformed log fields where the content of a log field from additional log entries may contain the wrong value, but we have not been able to reproduce this case with dummy logs.

Reproduced with:

  • Quickwit v0.8.2
  • Quickwit datasource plugin v0.6.3
  • Grafana v13.2.4
主要言語
TypeScript
スター
76
フォーク
45
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quickwit-oss/quickwit-datasource のほかの issue

quickwit-oss/quickwit-datasource の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。