From b787891c27b56218cb0dadbd80ff648b4b14db28 Mon Sep 17 00:00:00 2001 From: Project_IO Date: Thu, 10 Oct 2024 15:33:57 +0900 Subject: [PATCH] fix: function --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index fc15daf..7cf9631 100644 --- a/app.py +++ b/app.py @@ -43,11 +43,11 @@ app.include_router(router=balance) if get_otld(): import logging - from otlp_tracing import configure_otel_otlp + from otlp_tracing import configure_oltp_grpc_tracing from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor logging.basicConfig(level=logging.INFO) - tracer = configure_otel_otlp() + tracer = configure_oltp_grpc_tracing() logger = logging.getLogger(__name__) FastAPIInstrumentor.instrument_app(app)