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
cb20964f
Commit
cb20964f
authored
Mar 07, 2021
by
Nane Kratzke
Browse files
Instrumenting
parent
40056d9e
Pipeline
#29767
passed with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
space/service.py
View file @
cb20964f
...
...
@@ -6,6 +6,9 @@ from elasticapm.contrib.flask import ElasticAPM
# observability via tracing.
app
=
Flask
(
__name__
)
apm
=
ElasticAPM
(
app
,
service_name
=
os
.
environ
.
get
(
'SERVICE'
,
'space'
),
)
@
app
.
route
(
'/'
)
def
index
():
...
...
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