From e59b500818b38b8132e16422ea00045218d4b2a9 Mon Sep 17 00:00:00 2001 From: Max batleforc Date: Wed, 21 May 2025 21:27:15 +0200 Subject: [PATCH] feat: Add Jaeger --- Taskfile.yaml | 9 ++++++++- compose.yaml | 12 +++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index c9eca57..b5699bd 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -5,5 +5,12 @@ tasks: desc: Run the Rust server silent: true cmds: + - echo "Starting Db and Jaeger..." + - docker-compose up -d database jaeger - echo "Running Rust server..." - - cargo run \ No newline at end of file + - cargo run + stop: + desc: Stop the Rust server + cmds: + - echo "Stopping Db and Jaeger..." + - docker-compose down \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index 2b3600d..5f6938f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -11,4 +11,14 @@ services: environment: CLICKHOUSE_USER: default CLICKHOUSE_PASSWORD: password - CLICKHOUSE_DB: default \ No newline at end of file + CLICKHOUSE_DB: default + jaeger: + image: jaegertracing/jaeger:${JAEGER_VERSION:-2.6.0} + ports: + - "16686:16686" + - "4318:4318" + - "5778:5778" + - "4317:4317" + - "9411:9411" + environment: + - LOG_LEVEL=debug