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
Pump, Cedric
lab-tracing
Commits
e651dd7c
Commit
e651dd7c
authored
Mar 07, 2021
by
Nane Kratzke
Browse files
NS labeling
parent
6c9f2695
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiphop/service.py
View file @
e651dd7c
...
...
@@ -10,7 +10,7 @@ logging.basicConfig(level=logging.INFO)
service
=
os
.
environ
.
get
(
'BASE'
,
'hiphop-svc'
)
tier
=
int
(
os
.
environ
.
get
(
'TIER'
,
'1'
))
id
=
os
.
environ
.
get
(
'
ID
'
,
'unknown'
)
id
=
os
.
environ
.
get
(
'
NS
'
,
'unknown'
)
app
=
Flask
(
__name__
)
apm
=
ElasticAPM
(
app
,
service_name
=
f
"
{
id
}
-
{
service
}
"
)
...
...
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