GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin
Support for Ad Hoc filters
- 主要言語
- TypeScript
- スター
- 24
- フォーク
- 17
- 平均マージ
- 13時間 11分
- マージ済み PR(30日)
- 11
説明
**Is your feature request related to a problem? Please describe.**
Currently, when using the cloud logging data source plugin in grafana, we can not use Ad Hoc grafana filters to drive changes in the visualization.
[Grafana Ad Hoc vars](https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#add-ad-hoc-filters)
**Describe the solution you'd like**
Ideally, I'd like to be able to click a log line in a log dashboard, click on the "+" or "-" button to create an Ad Hoc filter to show me matches (or non matches) of logs. Ex below:
This is supported by several other datasources. Loki [doc](https://grafana.com/docs/grafana/latest/datasources/loki/template-variables/#use-ad-hoc-filters) shows support for Ad Hoc filtering.
This would allow folks to drive queries natively in the dashboards without having to use explore or open/edit a dashboard to update/edit the query.
コントリビューションガイド
調査の方向性
この issue ではファイルやテストが指定されていないため、まず plugin の Grafana データソースクエリと変数処理のエントリポイントを確認します。Ad Hoc フィルターがどのように受け取られ、表現されるかを確認し、そのうえでログ行の + または - をクリックすると dashboard 内の一致する結果と一致しない結果が変化することを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- google-cloud, typescript
- 領域
- cloud, observability
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100