fix tracing flags

This commit is contained in:
Adil Hafeez 2026-02-07 15:16:12 -08:00
parent 509976dec6
commit 31f3d38fad
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
11 changed files with 61 additions and 48 deletions

View file

@ -26,6 +26,7 @@ from planoai.core import (
start_cli_agent,
)
from planoai.consts import (
DEFAULT_OTEL_TRACING_GRPC_ENDPOINT,
PLANO_DOCKER_IMAGE,
PLANO_DOCKER_NAME,
SERVICE_NAME_ARCHGW,
@ -153,7 +154,7 @@ def up(file, path, foreground):
# Set the ARCH_CONFIG_FILE environment variable
env_stage = {
"OTEL_TRACING_GRPC_ENDPOINT": "http://host.docker.internal:4317",
"OTEL_TRACING_GRPC_ENDPOINT": DEFAULT_OTEL_TRACING_GRPC_ENDPOINT,
}
env = os.environ.copy()
# Remove PATH variable if present