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