Skip to content

Add Alibaba Cloud OSS storage backend #7594

@CharlieTLe

Description

@CharlieTLe

Thanos objstore supports Alibaba Cloud OSS (ALIYUNOSS provider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.

Implementation steps

  1. Create pkg/storage/bucket/oss/config.go — Config struct with RegisterFlagsWithPrefix()
  2. Create pkg/storage/bucket/oss/bucket_client.go — Thin wrapper around objstore/providers/oss
  3. Register in pkg/storage/bucket/client.go — Add constant, config field, and NewClient() case
  4. Vendor the OSS provider and Alibaba Cloud SDK
  5. Add unit tests and CHANGELOG entry

Metadata

Metadata

Assignees

No one assigned

    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