Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat(clickhouse): ✨ support for Google Cloud Storage (GCS) in Docker/Swarm (#2605)

Prashant Shahi3e97d2ffa38e
diff --git a/deploy/docker-swarm/clickhouse-setup/clickhouse-storage.xml b/deploy/docker-swarm/clickhouse-setup/clickhouse-storage.xml
index 2b2f4010ac..54ec4976f5 100644
--- a/deploy/docker-swarm/clickhouse-setup/clickhouse-storage.xml
+++ b/deploy/docker-swarm/clickhouse-setup/clickhouse-storage.xml
@@ -7,9 +7,21 @@
</default>
<s3>
<type>s3</type>
- <endpoint>https://BUCKET-NAME.s3.amazonaws.com/data/</endpoint>
+ <!-- For S3 cold storage,
+ if region is us-east-1, endpoint can be https://<bucket-name>.s3.amazonaws.com
+ if region is not us-east-1, endpoint should be https://<bucket-name>.s3-<region>.amazonaws.com
+ For GCS cold storage,
+ endpoint should be https://storage.googleapis.com/<bucket-name>/data/
+ -->
+ <endpoint>https://BUCKET-NAME.s3-REGION-NAME.amazonaws.com/data/</endpoint>
<access_key_id>ACCESS-KEY-ID</access_key_id>
<secret_access_key>SECRET-ACCESS-KEY</secret_access_key>
+ <!-- In case of S3, uncomment the below configuration in case you want to read
+ AWS credentials from the Environment variables if they exist. -->
+ <!-- <use_environment_credentials>true</use_environment_credentials> -->
+ <!-- In case of GCS, uncomment the below configuration, since GCS does
+ not support batch deletion and result in error messages in logs. -->
+ <!-- <support_batch_delete>false</support_batch_delete> -->
</s3>
</disks>
<policies>
diff --git a/deploy/docker/clickhouse-setup/clickhouse-storage.xml b/deploy/docker/clickhouse-setup/clickhouse-storage.xml
index 2b2f4010ac..54ec4976f5 100644
--- a/deploy/docker/clickhouse-setup/clickhouse-storage.xml
+++ b/deploy/docker/clickhouse-setup/clickhouse-storage.xml
@@ -7,9 +7,21 @@
</default>
<s3>
<type>s3</type>
- <endpoint>https://BUCKET-NAME.s3.amazonaws.com/data/</endpoint>
+ <!-- For S3 cold storage,
+ if region is us-east-1, endpoint can be https://<bucket-name>.s3.amazonaws.com
+ if region is not us-east-1, endpoint should be https://<bucket-name>.s3-<region>.amazonaws.com
+ For GCS cold storage,
+ endpoint should be https://storage.googleapis.com/<bucket-name>/data/
+ -->
+ <endpoint>https://BUCKET-NAME.s3-REGION-NAME.amazonaws.com/data/</endpoint>
<access_key_id>ACCESS-KEY-ID</access_key_id>
<secret_access_key>SECRET-ACCESS-KEY</secret_access_key>
+ <!-- In case of S3, uncomment the below configuration in case you want to read
+ AWS credentials from the Environment variables if they exist. -->
+ <!-- <use_environment_credentials>true</use_environment_credentials> -->
+ <!-- In case of GCS, uncomment the below configuration, since GCS does
+ not support batch deletion and result in error messages in logs. -->
+ <!-- <support_batch_delete>false</support_batch_delete> -->
</s3>
</disks>
<policies>