Skip to content

Commit

Permalink
Added docs for GCP configuration. (#595)
Browse files Browse the repository at this point in the history
Signed-off-by: Whyeasy <[email protected]>
  • Loading branch information
Whyeasy authored Mar 16, 2021
1 parent 8c84b34 commit f7093f5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/tempo/website/configuration/gcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,19 @@ GCS backend is configured in the storage block. Tempo requires a dedicated bucke
storage:
trace:
backend: gcs # store traces in gcs
s3:
gcs:
bucket_name: tempo # store traces in this bucket
chunk_buffer_size: 10485760 # optional. buffer size for reads. default = 10MiB
endpoint: https://storage.googleapis.com/storage/v1/ # optional. api endpoint override
insecure: false # optional. Set to true to disable authentication
# and certificate checks.
```
## Permissions
The following authentication methods are supported:
- GCP environment variable GOOGLE_APPLICATION_CREDENTIALS

The (service-)account that will communicate towards GCS should be assigned to the bucket which will receive the traces and should have the following IAM polices within the bucket:

- `storage.objects.create`
- `storage.objects.delete`
- `storage.objects.get`

0 comments on commit f7093f5

Please sign in to comment.