Improve logs panel compatibility with configured log level field
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
まず、設定された logLevelField に対する Grafana のログパネルの処理を追跡し、Elasticsearch データソースの回避策を含むコミット f4a752e を確認します。これを、Explore で言及されている既存のログボリュームパネルのカスタマイズと比較します。完了条件は、エントリがログの重大度にレベルフィールドではないフィールドを使用し、別のレベルフィールドを隠さないこと、そして選択した動作が適切なテストでカバーされていることです。
索引モデルが issue の本文から書いたものです。
説明
The Grafana logs panel determines the log level from a level field, or falls back to looking for keywords in the message.
When using a different field name for the log level, all entries appear grey.
The Elasticsearch datasource works around this by renaming the logLevelField to level, which was removed here in f4a752e.
I understand why it was removed, it doesn't really seem like the best way of handling this. Especially when there could be another field named level that gets obscured because of this.
To make the logs panel work with the logLevelField option, would you consider making this behaviour opt-in?
Alternatively, it could probably also be done client-side. There should already be something handling this for the log volume panel in the explore tab, I'm not sure if the logs panel can be customized in the same way.
I'd be happy to create a PR for this, just let me know which option you'd prefer.
- 主要言語
- TypeScript
- スター
- 76
- フォーク
- 45
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quickwit-oss/quickwit-datasource のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
A failed request is returned under the refId `__queryDataError`, so Grafana alerting reads "no data"オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
Missing or malformed log fields for entries fetched by Grafana's "Scroll to load more" functionalityオープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
quickwit-oss/quickwit-datasource の issue をすべて見る
似ている issue
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightly-labs/openbot#18462 ·
メンテナーはふだん 1 日以内に返信
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in Arabic対応中かも @tylerbea が今日担当しました。 オープンagent-ui bug p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input box対応中かも @PranavTJ-05 が今日担当しました。 オープンcomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NousResearch/hermes-agent#161023 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
resources
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
railmapgen/rmg-templates#2703 ·
メンテナーはふだん 1 日以内に返信
-
TypeScript OSS: `huggingfaceBaseUrl` is dropped by config validation, so the documented HuggingFace embedder example throws対応中かも @jaisogani-ai が今日担当しました。 オープンbug sdk-typescript
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信