Commit 122ce88d authored by Nane Kratzke's avatar Nane Kratzke
Browse files

debugging getting parent span

parent b8aa8b3f
......@@ -36,6 +36,7 @@ def hip():
r = ""
try:
parent_span = tracer.get_span(request)
print(parent_span)
with opentracing.tracer.start_span(f"{service}-{tier + 1}", child_of=parent_span) as span:
url = f"http://{service}-{tier + 1}"
span.set_tag("http.url", url)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment