From 7c1e70913ae61dea487d89ef86202546fddcb8d2 Mon Sep 17 00:00:00 2001 From: Alberto Vara Date: Sat, 25 May 2024 16:53:32 +0200 Subject: [PATCH] fix: update versions and fix minor bugs --- pyms/flask/services/tracer.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pyms/flask/services/tracer.py b/pyms/flask/services/tracer.py index e7ae9aa..d68f84a 100644 --- a/pyms/flask/services/tracer.py +++ b/pyms/flask/services/tracer.py @@ -1,13 +1,6 @@ import logging from typing import Union -opentracing = None - -PrometheusMetricsFactory = None - -get_current_span = None - - from flask import current_app, has_request_context, request from pyms.config.conf import get_conf @@ -15,6 +8,12 @@ from pyms.flask.services.driver import DriverService, get_service_name from pyms.utils import check_package_exists, import_from, import_package +opentracing = None + +PrometheusMetricsFactory = None + +get_current_span = None + logger = logging.getLogger(LOGGER_NAME) JAEGER_CLIENT = "jaeger"