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.

chore(log-option): 🔧 set hotrod log options for hotrod app (#659)

Prashant Shahi24162f8f9671
diff --git a/deploy/docker/clickhouse-setup/docker-compose.arm.yaml b/deploy/docker/clickhouse-setup/docker-compose.arm.yaml
index b1358fb78d..9331701cb7 100644
--- a/deploy/docker/clickhouse-setup/docker-compose.arm.yaml
+++ b/deploy/docker/clickhouse-setup/docker-compose.arm.yaml
@@ -96,7 +96,11 @@ services:
image: jaegertracing/example-hotrod:1.30
container_name: hotrod
ports:
- - "9000:8080"
+ - "9000:8080"
+ logging:
+ options:
+ max-size: 50m
+ max-file: 3
command: ["all"]
environment:
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
diff --git a/deploy/docker/clickhouse-setup/docker-compose.yaml b/deploy/docker/clickhouse-setup/docker-compose.yaml
index 3b96c05bc0..56fbceaae5 100644
--- a/deploy/docker/clickhouse-setup/docker-compose.yaml
+++ b/deploy/docker/clickhouse-setup/docker-compose.yaml
@@ -98,17 +98,21 @@ services:
image: jaegertracing/example-hotrod:1.30
container_name: hotrod
ports:
- - "9000:8080"
+ - "9000:8080"
+ logging:
+ options:
+ max-size: 50m
+ max-file: 3
command: ["all"]
environment:
- - JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
+ - JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
load-hotrod:
image: "grubykarol/locust:1.2.3-python3.9-alpine3.12"
container_name: load-hotrod
hostname: load-hotrod
ports:
- - "8089:8089"
+ - "8089:8089"
environment:
ATTACKED_HOST: http://hotrod:8080
LOCUST_MODE: standalone