Closed
Description
Is your feature request related to a problem? Please describe.
I use Ceph Object Store which has S3 compatible API. However it uses Path style
S3 URL like (http://s3endpoint/BUCKET), and it can not support by current Loki.
Loki put the bucket prefixed to the endpoint (Virtual-hosted Style
)as the final endpoint (http://BUCKET.s3endpoint), which can not be used here. And I always get error like below:
RequestError: send request failed\ncaused by: Put http://lokitest.<ceph object store>/fake/6c773d64ab8ab7c2%3A16b870e34df%3A16b870e34df%3A5feb2045: dial tcp: lookup lokitest.<object store> on xxxxx:53: no such host
For the details of the 2 styles, reference can be found here
Describe the solution you'd like
Provide a new config to let user choose use Path style
or Virtual-hosted Style
.
Thanks to the answer in aws/aws-sdk-go#1585.
Metadata
Metadata
Assignees
Labels
No labels