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