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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
added druid environments for small instance
Ankit Nayan8930ff1c88a3
diff --git a/deploy/docker/docker-compose.yaml b/deploy/docker/docker-compose.yamlindex 19a226ff2f..2b2323d15d 100644--- a/deploy/docker/docker-compose.yaml+++ b/deploy/docker/docker-compose.yaml@@ -68,7 +68,7 @@ services:command:- coordinatorenv_file:- - environment+ - environment_small/coordinatorbroker:image: apache/druid:0.20.0@@ -84,7 +84,7 @@ services:command:- brokerenv_file:- - environment+ - environment_small/brokerhistorical:image: apache/druid:0.20.0@@ -101,7 +101,7 @@ services:command:- historicalenv_file:- - environment+ - environment_small/historicalmiddlemanager:image: apache/druid:0.20.0@@ -118,7 +118,7 @@ services:command:- middleManagerenv_file:- - environment+ - environment_small/middlemanagerrouter:image: apache/druid:0.20.0@@ -134,7 +134,7 @@ services:command:- routerenv_file:- - environment+ - environment_small/routerflatten-processor:image: signoz/flattener-processor:0.1.1diff --git a/deploy/docker/environment_small/broker b/deploy/docker/environment_small/brokernew file mode 100644index 0000000000..2b76b2c62f--- /dev/null+++ b/deploy/docker/environment_small/broker@@ -0,0 +1,53 @@+#+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.+#++# Java tuning+DRUID_XMX=512m+DRUID_XMS=512m+DRUID_MAXNEWSIZE=256m+DRUID_NEWSIZE=256m+DRUID_MAXDIRECTMEMORYSIZE=768m++druid_emitter_logging_logLevel=debug++druid_extensions_loadList=["druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage", "druid-kafka-indexing-service"]++druid_zk_service_host=zookeeper++druid_metadata_storage_host=+druid_metadata_storage_type=postgresql+druid_metadata_storage_connector_connectURI=jdbc:postgresql://postgres:5432/druid+druid_metadata_storage_connector_user=druid+druid_metadata_storage_connector_password=FoolishPassword++druid_coordinator_balancer_strategy=cachingCost++druid_indexer_runner_javaOptsArray=["-server", "-Xms512m", "-Xmx512m", "-XX:MaxDirectMemorySize=768m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]+druid_indexer_fork_property_druid_processing_buffer_sizeBytes=25000000+druid_processing_buffer_sizeBytes=100MiB++druid_storage_type=local+druid_storage_storageDirectory=/opt/data/segments+druid_indexer_logs_type=file+druid_indexer_logs_directory=/opt/data/indexing-logs++druid_processing_numThreads=1+druid_processing_numMergeBuffers=2++DRUID_LOG4J=<?xml version="1.0" encoding="UTF-8" ?><Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/></Console></Appenders><Loggers><Root level="info"><AppenderRef ref="Console"/></Root><Logger name="org.apache.druid.jetty.RequestLog" additivity="false" level="DEBUG"><AppenderRef ref="Console"/></Logger></Loggers></Configuration>\ No newline at end of filediff --git a/deploy/docker/environment_small/coordinator b/deploy/docker/environment_small/coordinatornew file mode 100644index 0000000000..25ec3847ba--- /dev/null+++ b/deploy/docker/environment_small/coordinator@@ -0,0 +1,52 @@+#+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.+#++# Java tuning+DRUID_XMX=64m+DRUID_XMS=64m+DRUID_MAXNEWSIZE=256m+DRUID_NEWSIZE=256m+DRUID_MAXDIRECTMEMORYSIZE=400m++druid_emitter_logging_logLevel=debug++druid_extensions_loadList=["druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage", "druid-kafka-indexing-service"]++druid_zk_service_host=zookeeper++druid_metadata_storage_host=+druid_metadata_storage_type=postgresql+druid_metadata_storage_connector_connectURI=jdbc:postgresql://postgres:5432/druid+druid_metadata_storage_connector_user=druid+druid_metadata_storage_connector_password=FoolishPassword++druid_coordinator_balancer_strategy=cachingCost++druid_indexer_runner_javaOptsArray=["-server", "-Xms64m", "-Xmx64m", "-XX:MaxDirectMemorySize=400m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]+druid_indexer_fork_property_druid_processing_buffer_sizeBytes=25000000++druid_storage_type=local+druid_storage_storageDirectory=/opt/data/segments+druid_indexer_logs_type=file+druid_indexer_logs_directory=/opt/data/indexing-logs++druid_processing_numThreads=1+druid_processing_numMergeBuffers=2++DRUID_LOG4J=<?xml version="1.0" encoding="UTF-8" ?><Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/></Console></Appenders><Loggers><Root level="info"><AppenderRef ref="Console"/></Root><Logger name="org.apache.druid.jetty.RequestLog" additivity="false" level="DEBUG"><AppenderRef ref="Console"/></Logger></Loggers></Configuration>\ No newline at end of filediff --git a/deploy/docker/environment_small/historical b/deploy/docker/environment_small/historicalnew file mode 100644index 0000000000..5560087ab0--- /dev/null+++ b/deploy/docker/environment_small/historical@@ -0,0 +1,53 @@+#+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.+#++# Java tuning+DRUID_XMX=512m+DRUID_XMS=512m+DRUID_MAXNEWSIZE=256m+DRUID_NEWSIZE=256m+DRUID_MAXDIRECTMEMORYSIZE=1280m++druid_emitter_logging_logLevel=debug++druid_extensions_loadList=["druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage", "druid-kafka-indexing-service"]++druid_zk_service_host=zookeeper++druid_metadata_storage_host=+druid_metadata_storage_type=postgresql+druid_metadata_storage_connector_connectURI=jdbc:postgresql://postgres:5432/druid+druid_metadata_storage_connector_user=druid+druid_metadata_storage_connector_password=FoolishPassword++druid_coordinator_balancer_strategy=cachingCost++druid_indexer_runner_javaOptsArray=["-server", "-Xms512m", "-Xmx512m", "-XX:MaxDirectMemorySize=1280m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]+druid_indexer_fork_property_druid_processing_buffer_sizeBytes=25000000+druid_processing_buffer_sizeBytes=200MiB++druid_storage_type=local+druid_storage_storageDirectory=/opt/data/segments+druid_indexer_logs_type=file+druid_indexer_logs_directory=/opt/data/indexing-logs++druid_processing_numThreads=2+druid_processing_numMergeBuffers=2++DRUID_LOG4J=<?xml version="1.0" encoding="UTF-8" ?><Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/></Console></Appenders><Loggers><Root level="info"><AppenderRef ref="Console"/></Root><Logger name="org.apache.druid.jetty.RequestLog" additivity="false" level="DEBUG"><AppenderRef ref="Console"/></Logger></Loggers></Configuration>\ No newline at end of filediff --git a/deploy/docker/environment b/deploy/docker/environment_small/middlemanagersimilarity index 85%rename from deploy/docker/environmentrename to deploy/docker/environment_small/middlemanagerindex 4ccc70dab7..18bf3c413b 100644--- a/deploy/docker/environment+++ b/deploy/docker/environment_small/middlemanager@@ -20,9 +20,9 @@# Java tuningDRUID_XMX=1gDRUID_XMS=1g-DRUID_MAXNEWSIZE=250m-DRUID_NEWSIZE=250m-DRUID_MAXDIRECTMEMORYSIZE=3072m+DRUID_MAXNEWSIZE=256m+DRUID_NEWSIZE=256m+DRUID_MAXDIRECTMEMORYSIZE=2gdruid_emitter_logging_logLevel=debug@@ -38,8 +38,9 @@ druid_metadata_storage_connector_password=FoolishPassworddruid_coordinator_balancer_strategy=cachingCost-druid_indexer_runner_javaOptsArray=["-server", "-Xmx1g", "-Xms1g", "-XX:MaxDirectMemorySize=3g", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]-druid_indexer_fork_property_druid_processing_buffer_sizeBytes=268435456+druid_indexer_runner_javaOptsArray=["-server", "-Xms1g", "-Xmx1g", "-XX:MaxDirectMemorySize=2g", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]+druid_indexer_fork_property_druid_processing_buffer_sizeBytes=25000000+druid_processing_buffer_sizeBytes=200MiBdruid_storage_type=localdruid_storage_storageDirectory=/opt/data/segmentsdiff --git a/deploy/docker/environment_small/router b/deploy/docker/environment_small/routernew file mode 100644index 0000000000..56ee35cdaa--- /dev/null+++ b/deploy/docker/environment_small/router@@ -0,0 +1,52 @@+#+# Licensed to the Apache Software Foundation (ASF) under one+# or more contributor license agreements. See the NOTICE file+# distributed with this work for additional information+# regarding copyright ownership. The ASF licenses this file+# to you under the Apache License, Version 2.0 (the+# "License"); you may not use this file except in compliance+# with the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing,+# software distributed under the License is distributed on an+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+# KIND, either express or implied. See the License for the+# specific language governing permissions and limitations+# under the License.+#++# Java tuning+DRUID_XMX=128m+DRUID_XMS=128m+DRUID_MAXNEWSIZE=256m+DRUID_NEWSIZE=256m+DRUID_MAXDIRECTMEMORYSIZE=128m++druid_emitter_logging_logLevel=debug++druid_extensions_loadList=["druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage", "druid-kafka-indexing-service"]++druid_zk_service_host=zookeeper++druid_metadata_storage_host=+druid_metadata_storage_type=postgresql+druid_metadata_storage_connector_connectURI=jdbc:postgresql://postgres:5432/druid+druid_metadata_storage_connector_user=druid+druid_metadata_storage_connector_password=FoolishPassword++druid_coordinator_balancer_strategy=cachingCost++druid_indexer_runner_javaOptsArray=["-server", "-Xms128m", "-Xmx128m", "-XX:MaxDirectMemorySize=128m", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]+druid_indexer_fork_property_druid_processing_buffer_sizeBytes=25000000++druid_storage_type=local+druid_storage_storageDirectory=/opt/data/segments+druid_indexer_logs_type=file+druid_indexer_logs_directory=/opt/data/indexing-logs++druid_processing_numThreads=1+druid_processing_numMergeBuffers=2++DRUID_LOG4J=<?xml version="1.0" encoding="UTF-8" ?><Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n"/></Console></Appenders><Loggers><Root level="info"><AppenderRef ref="Console"/></Root><Logger name="org.apache.druid.jetty.RequestLog" additivity="false" level="DEBUG"><AppenderRef ref="Console"/></Logger></Loggers></Configuration>\ No newline at end of file