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
Merge branch 'develop' of github.com:signoz/signoz into prashant/pprof
Prashant Shahiac06b02d52c3
diff --cc deploy/docker-swarm/clickhouse-setup/docker-compose.yamlindex 9a9ca48204,d0a22e95e6..6024201cb8--- a/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml+++ b/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml@@@ -29,11 -37,10 +37,11 @@@ servicescondition: on-failurequery-service:- image: signoz/query-service:0.7.3+ image: signoz/query-service:0.8.0command: ["-config=/root/config/prometheus.yml"]- ports:- - "8080:8080"+ # ports:+ # - "6060:6060" # pprof port+ # - "8080:8080" # query-service portvolumes:- ./prometheus.yml:/root/config/prometheus.yml- ../dashboards:/root/config/dashboardsdiff --cc deploy/docker/clickhouse-setup/docker-compose.arm.yamlindex 35c7e8d096,bb5dbb5207..cc29115bf1--- a/deploy/docker/clickhouse-setup/docker-compose.arm.yaml+++ b/deploy/docker/clickhouse-setup/docker-compose.arm.yaml@@@ -15,21 -22,24 +22,27 @@@ servicesretries: 3alertmanager:- image: signoz/alertmanager:0.5.0+ image: signoz/alertmanager:0.23.0-0.1volumes:- - ./alertmanager.yml:/prometheus/alertmanager.yml- ./data/alertmanager:/data+ depends_on:+ query-service:+ condition: service_healthy+ restart: on-failurecommand:- - '--config.file=/prometheus/alertmanager.yml'- - '--storage.path=/data'+ - --queryService.url=http://query-service:8080+ - --storage.path=/data++ # Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`+query-service:- image: signoz/query-service:0.7.3+ image: signoz/query-service:0.8.0container_name: query-servicecommand: ["-config=/root/config/prometheus.yml"]+ # ports:+ # - "6060:6060" # pprof port+ # - "8080:8080" # query-service portvolumes:- ./prometheus.yml:/root/config/prometheus.yml- ../dashboards:/root/config/dashboardsdiff --cc deploy/docker/clickhouse-setup/docker-compose.yamlindex c12aacafe1,7f484c913d..e18d584e1d--- a/deploy/docker/clickhouse-setup/docker-compose.yaml+++ b/deploy/docker/clickhouse-setup/docker-compose.yaml@@@ -30,12 -36,9 +36,12 @@@ services# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`query-service:- image: signoz/query-service:0.7.3+ image: signoz/query-service:0.8.0container_name: query-servicecommand: ["-config=/root/config/prometheus.yml"]+ # ports:+ # - "6060:6060" # pprof port+ # - "8080:8080" # query-service portvolumes:- ./prometheus.yml:/root/config/prometheus.yml- ../dashboards:/root/config/dashboardsdiff --cc pkg/query-service/constants/constants.goindex 7ff13a0163,f4a00cec23..9da032e9ed--- a/pkg/query-service/constants/constants.go+++ b/pkg/query-service/constants/constants.go@@@ -5,11 -5,10 +5,11 @@@ import"strconv")- const HTTPHostPort = "0.0.0.0:8080" // Address to serve http (query service)- const DebugHttpPort = "0.0.0.0:6060" // Address to serve http (pprof)+ const (- HTTPHostPort = "0.0.0.0:8080"++ HTTPHostPort = "0.0.0.0:8080" // Address to serve http (query service)++ DebugHttpPort = "0.0.0.0:6060" // Address to serve http (pprof)+ )- var DruidClientUrl = os.Getenv("DruidClientUrl")- var DruidDatasource = os.Getenv("DruidDatasource")var DEFAULT_TELEMETRY_ANONYMOUS = falsefunc IsTelemetryEnabled() bool {diff --cc pkg/query-service/main.goindex d9b68b755c,9cede29cd7..e02fd0b447--- a/pkg/query-service/main.go+++ b/pkg/query-service/main.go@@@ -1,8 -1,7 +1,9 @@@package mainimport (+ "context"+ "net/http"+ _ "net/http/pprof" // http profiler"os""os/signal""syscall"