Skip to content

Add Tencent Cloud COS storage backend #7592

Open

Description

@CharlieTLe

Thanos objstore supports Tencent Cloud Object Storage (COS provider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.

Implementation steps

  1. Create pkg/storage/bucket/cos/config.go — Config struct with RegisterFlagsWithPrefix()
  2. Create pkg/storage/bucket/cos/bucket_client.go — Thin wrapper around objstore/providers/cos
  3. Register in pkg/storage/bucket/client.go — Add constant, config field, and NewClient() case
  4. Vendor the COS provider and Tencent Cloud SDK
  5. Add unit tests and CHANGELOG entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions