From cfbf9f7d30e3a7a403bbbab31cfc9b40eb6bb2a8 Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 28 Jun 2024 13:13:20 +0200 Subject: [PATCH] log trace init --- worker/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worker/tasks.py b/worker/tasks.py index a77d6ee..c8116a1 100644 --- a/worker/tasks.py +++ b/worker/tasks.py @@ -26,9 +26,11 @@ @worker_process_init.connect(weak=False) def init_tracing(): + logging.info("Initializing trace...") load_dotenv() otel_endpoint = os.getenv("TRACELOOP_BASE_URL") Traceloop.init(app_name="hivemind-server", api_endpoint=otel_endpoint) + logging.info("Trace initialized...") @app.task