Commit bb45e5f7 authored by Pump, Cedric's avatar Pump, Cedric
Browse files

Update service.py

parent 16986bd0
Pipeline #43343 passed with stages
in 45 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