How can I configure GCS Storage for Requester-Pays Buckets

Hi, I’m trying to flush chunks to GCS Storage buckets. Unfortunately, the buckets are Requester-Pays buckets.

Loki does not succeed flushing data as Google requires the request to specify the user project ID to be billed for such buckets.

The error is :

failed to flush chunks: store put chunk: googleapi: Error 400: Bucket is a requester pays bucket but no user project provided.

Is there a setting under storage_config => gcs => to specify the user project ID to be billed ?

I’ve tried:

storage_config:
   gcs:
     user_project:
    #or 
     project_id: 

But none of these keys are recognized by loki.

I’m using Loki 3.3.2 in a docker container deployed as a monolithic stack.