From 24162f8f9671611e1416de327d43edacf9382b23 Mon Sep 17 00:00:00 2001 From: Prashant Shahi Date: Sun, 30 Jan 2022 23:39:06 +0530 Subject: [PATCH] =?UTF-8?q?chore(log-option):=20=F0=9F=94=A7=20set=20hotro?= =?UTF-8?q?d=20log=20options=20for=20hotrod=20app=20(#659)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Prashant Shahi --- deploy/docker/clickhouse-setup/docker-compose.arm.yaml | 6 +++++- deploy/docker/clickhouse-setup/docker-compose.yaml | 10 +++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) 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