Thanos objstore supports Alibaba Cloud OSS (ALIYUNOSS provider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.
Implementation steps
- Create
pkg/storage/bucket/oss/config.go — Config struct with RegisterFlagsWithPrefix()
- Create
pkg/storage/bucket/oss/bucket_client.go — Thin wrapper around objstore/providers/oss
- Register in
pkg/storage/bucket/client.go — Add constant, config field, and NewClient() case
- Vendor the OSS provider and Alibaba Cloud SDK
- Add unit tests and CHANGELOG entry
Thanos objstore supports Alibaba Cloud OSS (
ALIYUNOSSprovider). Add it as a Cortex storage backend for blocks, ruler, and alertmanager storage.Implementation steps
pkg/storage/bucket/oss/config.go— Config struct withRegisterFlagsWithPrefix()pkg/storage/bucket/oss/bucket_client.go— Thin wrapper aroundobjstore/providers/osspkg/storage/bucket/client.go— Add constant, config field, andNewClient()case