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

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi 2022-01-30 23:39:06 +05:30 committed by GitHub
parent 0d1526f6af
commit 24162f8f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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