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.

choose clickhouse on enter press

Ankit Anandace02486e0be
diff --git a/deploy/install.sh b/deploy/install.sh
index 4c086dcd98..29d594a0b2 100755
--- a/deploy/install.sh
+++ b/deploy/install.sh
@@ -316,19 +316,19 @@ SIGNOZ_INSTALLATION_ID=$(curl -s 'https://api64.ipify.org')
echo ""
echo -e "👉 ${RED}Two ways to go forward\n"
-echo -e "${RED}1) ClickHouse as database (recommended for low memory usage)\n"
+echo -e "${RED}1) ClickHouse as database (default)\n"
echo -e "${RED}2) Kafka + Druid setup to handle scale (recommended for production use)\n"
read -p "⚙️ Enter your preference (1/2):" choice_setup
-while [[ $choice_setup == "" || ( $choice_setup != "1" && $choice_setup != "2" ) ]]
+while [[ $choice_setup != "1" && $choice_setup != "2" && $choice_setup != "" ]]
do
# echo $choice_setup
echo -e "\n❌ ${CYAN}Please enter either 1 or 2"
- read -rp "⚙️ Enter your preference (1/2): " choice_setup
+ read -p "⚙️ Enter your preference (1/2): " choice_setup
# echo $choice_setup
done
-if [ $choice_setup == "1" ];then
+if [[ $choice_setup == "1" || $choice_setup == "" ]];then
setup_type='clickhouse'
else
setup_type='druid'