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

subspan

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