Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cloud-native
lab-tracing
Commits
c1486032
Commit
c1486032
authored
Mar 06, 2021
by
Nane Kratzke
Browse files
Log remote addr
parent
99446daf
Pipeline
#29734
passed with stages
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
hiphop/service.py
View file @
c1486032
...
...
@@ -16,6 +16,7 @@ def index():
@
app
.
route
(
'/hip'
)
def
hip
():
logging
.
info
(
f
"Request from:
{
request
.
environ
.
get
(
'HTTP_X_REAL_IP'
,
request
.
remote_addr
)
}
"
)
r
=
""
url
=
f
"http://
{
service
}
-
{
tier
+
1
}
/hip"
try
:
...
...
Write
Preview
Supports
Markdown
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