Commit 2aac41dd authored by Nane Kratzke's avatar Nane Kratzke
Browse files

subspan

parent f4db0cb2
......@@ -25,7 +25,8 @@ def hip():
r = ""
url = f"http://{service}-{tier + 1}/hip"
try:
r = requests.get(url).content
with elasticapm.capture_span(f"{service}-{tier + 1}"):
r = requests.get(url).content
except Exception as ex:
logging.error(f"Fetching { url } failed ({ ex })")
r = "END"
......
Markdown is supported
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