diff --git a/ddtrace/propagation/http.py b/ddtrace/propagation/http.py index fdaf97410ad..80603b292f8 100644 --- a/ddtrace/propagation/http.py +++ b/ddtrace/propagation/http.py @@ -1,6 +1,7 @@ import itertools import re import sys +import time from typing import Any # noqa:F401 from typing import Dict # noqa:F401 from typing import FrozenSet # noqa:F401 @@ -1126,6 +1127,7 @@ def my_controller(url, headers): :param dict headers: HTTP headers to extract tracing attributes. :return: New `Context` with propagated attributes. """ + time.sleep(0.1) context = Context() if not headers or not config._propagation_style_extract: return context