diff --git a/docker/.env b/docker/.env index 81761fd3b..8cc0e95df 100644 --- a/docker/.env +++ b/docker/.env @@ -63,6 +63,7 @@ MG_JAEGER_FRONTEND=16686 MG_JAEGER_OLTP_HTTP=4318 MG_JAEGER_URL=http://jaeger:4318 MG_JAEGER_TRACE_RATIO=1.0 +MG_JAEGER_MEMORY_MAX_TRACES=5000 ## Call home MG_SEND_TELEMETRY=true diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f23eaaa89..417c72b3f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -462,6 +462,7 @@ services: container_name: magistrala-jaeger environment: COLLECTOR_OTLP_ENABLED: ${MG_JAEGER_COLLECTOR_OTLP_ENABLED} + command: --memory.max-traces ${MG_JAEGER_MEMORY_MAX_TRACES} ports: - ${MG_JAEGER_FRONTEND}:${MG_JAEGER_FRONTEND} - ${MG_JAEGER_OLTP_HTTP}:${MG_JAEGER_OLTP_HTTP}