Skip to content

Commit ae77fb4

Browse files
committed
update README for data source syncer
1 parent c4c6026 commit ae77fb4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ If you want to access traces in multiple cloud projects, you need to ensure the
3838

3939
If you host Grafana on a GCE VM, you can also use the [Compute Engine service account](https://cloud.google.com/compute/docs/access/service-accounts#serviceaccount). You need to make sure the service account has sufficient permissions to access the traces in all projects.
4040

41+
Similar to [Prometheus data sources on Google Cloud](https://cloud.google.com/stackdriver/docs/managed-prometheus/query#use-serverless), you can also configure a scheduled job to use an OAuth2 access token to view the traces. Please follow the steps in the [data source syncer README](https://github.com/GoogleCloudPlatform/blob/main/datasource-syncer/README.md) to configure it.
42+
4143
### Service account impersonation
4244
You can also configure the plugin to use [service account impersonation](https://cloud.google.com/iam/docs/service-account-impersonation).
4345
You need to ensure the service account used by this plugin has the `iam.serviceAccounts.getAccessToken` permission. This permission is in roles like the [Service Account Token Creator role](https://cloud.google.com/iam/docs/understanding-roles#iam.serviceAccountTokenCreator) (roles/iam.serviceAccountTokenCreator). Also, the service account impersonated
@@ -51,9 +53,6 @@ by this plugin needs cloud trace user and project list permissions.
5153

5254
![image info](https://github.com/GoogleCloudPlatform/cloud-trace-data-source-plugin/blob/main/src/img/cloud_trace_config.png?raw=true)
5355

54-
### Access Token
55-
You can also set up the datasource-syncer to rotate an access token for you.
56-
5756
## Usage
5857

5958
### Grafana Explore

0 commit comments

Comments
 (0)