Skip to content

Commit 4e00952

Browse files
author
ugo
committed
feat: add cluster name and update single node configuration for ClickHouse
1 parent 5029c2a commit 4e00952

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

charts/sentry/templates/snuba/_helper-snuba.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ settings.py: |
4343
"password": env("CLICKHOUSE_PASSWORD", ""),
4444
"max_connections": int(os.environ.get("CLICKHOUSE_MAX_CONNECTIONS", 100)),
4545
"database": env("CLICKHOUSE_DATABASE", "default"),
46+
"cluster_name": env("CLICKHOUSE_CLUSTER_NAME", "default"),
47+
"distributed_cluster_name": env("CLICKHOUSE_DISTRIBUTED_CLUSTER_NAME", "default"),
4648
"http_port": {{ include "sentry.clickhouse.http_port" . }},
4749
"storage_sets": {
4850
"cdc",
@@ -74,7 +76,7 @@ settings.py: |
7476
The default clickhouse installation runs in distributed mode, while the external
7577
clickhouse configured can be configured any way you choose
7678
*/}}
77-
"single_node": True
79+
"single_node": False
7880
},
7981
]
8082

0 commit comments

Comments
 (0)