grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.33k stars 3.38k forks source link

Feature: support Tencent Cloud COS provider #6070

Open jianxx opened 2 years ago

jianxx commented 2 years ago

Is your feature request related to a problem? Please describe. The Tencent Cloud is a public cloud service provider in China. Tencent Cloud. It provides an Object Storage service named COS.

We would like to use loki as the log monitoring solution while using thanos as the metric monitoring solution. As our service integrates Tencent Cloud infrastructure, we want to use the COS service from Tencent Cloud as backend storage. Thanos already supports COS as the backend storage.

Describe the solution you'd like I'm working on a PR to make Loki work with COS service. If this PR could be accepted, I would like to become the maintainer for this storage provider and keep development for Loki.

Describe alternatives you've considered There is no alternative solution at this moment.

arcosx commented 2 years ago

Hi, you can refer to this PR https://github.com/grafana/loki/pull/5848 about how to submit a new storage backend. Not just the code, there is something to note about the documentation.

yankeguo commented 2 years ago

tencent qcloud cos support s3 protocol, so no need to add a new storage backend, just check the official documentation

https://cloud.tencent.com/document/product/436/37421