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

Authentificating datasource with grafana provisioning

Open
#76 4 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
24
Forks
17
Avg merge
13h 11m
Merged PRs (30d)
11

Description

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
```

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named in the issue. Start by locating the datasource provisioning and authentication handling, then verify the listed jsonData fields—including privateKeyPath, defaultProject, and clientEmail—are accepted and applied when the datasource is provisioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, typescript
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.