GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin

failed to run test query: list entries: timeout

オープン
#63 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
24
フォーク
17
平均マージ
13時間 11分
マージ済み PR(30日)
11

説明

When testing the datasource I get the following error:
failed to run test query: list entries: timeout

I have had similar problem also when connecting via python, and found I could use the the following switch to disable grpc:
#logging_client = logging.Client(project=project_id**, _use_grpc=0**)

Is there a way to disable grpc in the plugin?

My query works just fine since when I click on the View in Cloud Logging button I can see my data. This is just the connection method.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ファイルやテストは指定されていません。plugin の datasource 接続とテストクエリの経路から始め、タイムアウトを再現し、Google Cloud Logging クライアントがどのように初期化されているかを調べてください。plugin がこの接続に対して gRPC を無効化でき、テストクエリが成功すれば完了です。

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

評価

技術スタック
google-cloud, grafana, typescript
領域
api, backend, observability-sre
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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