Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pump, Cedric
lab-tracing
Commits
2aac41dd
Commit
2aac41dd
authored
Mar 07, 2021
by
Nane Kratzke
Browse files
subspan
parent
f4db0cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiphop/service.py
View file @
2aac41dd
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment