Sidecar S3: in-bucket path #7774
-
Hi Thanos community! I'm planning to setup about 10 prometheus instances for different clients. For each instance I want to setup sidecar to backup metrics to MinIO S3. My current configuration type: s3
config:
bucket: prometheus
endpoint: s3.example.com
access_key: ""
secret_key: "" I tried add custom path like this, but it returned an error: type: s3
config:
bucket: prometheus/client-1
endpoint: s3.example.com
access_key: ""
secret_key: "" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Hey @CherrySuryp! I'm here to help you out with any issues or questions you have. Let's tackle this together! You can configure an in-bucket path for MinIO S3 in Thanos sidecar by using the Here is an example configuration: type: S3
config:
bucket: "prometheus"
endpoint: "s3.example.com"
access_key: ""
secret_key: ""
prefix: "client-1" This configuration will store the data under the Additionally, there is no need for any extra configuration on the MinIO side to support the |
Beta Was this translation helpful? Give feedback.
-
I think what the bot said was correct! |
Beta Was this translation helpful? Give feedback.
This is correct configuration of prefix