Commit 5e383e9b authored by Gabrecht, Marco's avatar Gabrecht, Marco
Browse files

Update service.py

parent 48f1b3e0
Pipeline #43340 passed with stages
in 49 seconds
......@@ -12,7 +12,7 @@ service = os.environ.get('BASE', 'hiphop-svc')
tier = int(os.environ.get('TIER', '1'))
id = os.environ.get('NS', 'unknown')
app = Flask(__name__)
apm = ElasticAPM(app, service_name=f"{id}-{service}")
apm = ElasticAPM(app, service_name=f"{id}-{service}-{tier}")
@app.route('/')
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