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
chore: improve otel demo app setup with docker based signoz (#9567)
Karan Balanifbb66f14ba78
diff --git a/Makefile b/Makefileindex 561078b2dd..6d5c835cd1 100644--- a/Makefile+++ b/Makefile@@ -84,10 +84,9 @@ go-run-enterprise: ## Runs the enterprise go backend serverSIGNOZ_ALERTMANAGER_PROVIDER=signoz \SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse \SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://127.0.0.1:9000 \+ SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER=cluster \go run -race \- $(GO_BUILD_CONTEXT_ENTERPRISE)/*.go \- --config ./conf/prometheus.yml \- --cluster cluster+ $(GO_BUILD_CONTEXT_ENTERPRISE)/*.go.PHONY: go-testgo-test: ## Runs go unit tests@@ -102,10 +101,9 @@ go-run-community: ## Runs the community go backend serverSIGNOZ_ALERTMANAGER_PROVIDER=signoz \SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse \SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://127.0.0.1:9000 \+ SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_CLUSTER=cluster \go run -race \- $(GO_BUILD_CONTEXT_COMMUNITY)/*.go server \- --config ./conf/prometheus.yml \- --cluster cluster+ $(GO_BUILD_CONTEXT_COMMUNITY)/*.go server.PHONY: go-build-community $(GO_BUILD_ARCHS_COMMUNITY)go-build-community: ## Builds the go backend server for community@@ -208,4 +206,4 @@ py-lint: ## Run lint for integration tests.PHONY: py-testpy-test: ## Runs integration tests- @cd tests/integration && poetry run pytest --basetemp=./tmp/ -vv --capture=no src/\ No newline at end of file+ @cd tests/integration && poetry run pytest --basetemp=./tmp/ -vv --capture=no src/diff --git a/docs/otel-demo-docs.md b/docs/otel-demo-docs.mdindex 2c0fc92ec5..d3a8231174 100644--- a/docs/otel-demo-docs.md+++ b/docs/otel-demo-docs.md@@ -103,9 +103,19 @@ Remember to replace the region and ingestion key with proper values as obtainedBoth SigNoz and OTel demo app [frontend-proxy service, to be accurate] share common port allocation at 8080. To prevent port allocation conflicts, modify the OTel demo application config to use port 8081 as the `ENVOY_PORT` value as shown below, and run docker compose command.+Also, both SigNoz and OTel Demo App have the same `PROMETHEUS_PORT` configured, by default both of them try to start at `9090`, which may cause either of them to fail depending upon which one acquires it first. To prevent this, we need to mofify the value of `PROMETHEUS_PORT` too.++```sh-ENVOY_PORT=8081 docker compose up -d+ENVOY_PORT=8081 PROMETHEUS_PORT=9091 docker compose up -d```++Alternatively, we can modify these values using the `.env` file too, which reduces the command as just:++```sh+docker compose up -d+```+This spins up multiple microservices, with OpenTelemetry instrumentation enabled. you can verify this by,```shdocker compose ps -a