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

Authentificating datasource with grafana provisioning

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

説明

The docs say, that the provisioning is similar to the Google Cloud Monitoring plugin for datasources
However it does not support privateKeyPath and/or all the other fields in jsonData.
Are they gonna be supported in the future?
Something like this does not work, even though the private key is mounted. The other fields such as defaultProject or clientEmail are not set as well.

```
- name: Google Cloud Logging
type: googlecloud-logging-datasource
access: proxy
jsonData:
tokenUri: tokenURI
clientEmail: email@project.gserviceaccount.com
authenticationType: jwt
defaultProject: projectName
privateKeyPath: /etc/secrets/privateKey.pem
```

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

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

調査の方向性

issue にはソースファイル、テスト、エントリーポイントのいずれも記載されていません。まず datasource のプロビジョニングと認証処理の場所を特定し、次に、privateKeyPath、defaultProject、clientEmail を含む、一覧にある jsonData フィールドが datasource のプロビジョニング時に受け付けられ、適用されることを確認してください。

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

評価

技術スタック
google-cloud, typescript
領域
devops
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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