Skip to content

S3-compatible storage: support S3ForcePathStyle and expanded configs #431

@tonychoe

Description

@tonychoe

Is your feature request related to a problem? Please describe.

S3-compatible storages require s3ForcePathStyle. Additionally Oracle Object Storage requires a region identifier to use other than a home region.

Currently, Tempo doesn't allow these configurations, therefore we cannot use some S3-compatible storages as Tempo's storage.

Describe the solution you'd like

Allow passing s3forcepathstyle and region to the S3 SDK used in Tempo, as the following example config:

    s3:
      s3forcepathstyle: true
      bucket: tempo 
      region: us-phoenix-1
      endpoint: endpoint1234.compat.objectstorage.us-phoenix-1.oraclecloud.com      access_key: tempo
      secret_key: supersecret
      insecure: false

As you may know, Loki has been supporting the S3-compatible storage, a region identifier and more. Perhaps Loki's code could be re-used to implement this feature.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions