We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2268fb6 commit 773e129Copy full SHA for 773e129
1 file changed
src/instana/util/traceutils.py
@@ -12,7 +12,7 @@
12
from instana.span.span import InstanaSpan
13
14
def extract_custom_headers(span: "InstanaSpan", headers: Optional[Union[Dict[str, Any], List[Tuple[object, ...]], Iterable]] = None, format: Optional[bool] = False) -> None:
15
- if not headers:
+ if not (agent.options.extra_http_headers and headers):
16
return
17
try:
18
for custom_header in agent.options.extra_http_headers:
0 commit comments