Commit cb20964f authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Instrumenting

parent 40056d9e
...@@ -6,6 +6,9 @@ from elasticapm.contrib.flask import ElasticAPM ...@@ -6,6 +6,9 @@ from elasticapm.contrib.flask import ElasticAPM
# observability via tracing. # observability via tracing.
app = Flask(__name__) app = Flask(__name__)
apm = ElasticAPM(app,
service_name=os.environ.get('SERVICE', 'space'),
)
@app.route('/') @app.route('/')
def index(): def index():
......
Markdown is supported
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