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"