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

NS labeling

parent 6c9f2695
...@@ -10,7 +10,7 @@ logging.basicConfig(level=logging.INFO) ...@@ -10,7 +10,7 @@ logging.basicConfig(level=logging.INFO)
service = os.environ.get('BASE', 'hiphop-svc') service = os.environ.get('BASE', 'hiphop-svc')
tier = int(os.environ.get('TIER', '1')) tier = int(os.environ.get('TIER', '1'))
id = os.environ.get('ID', 'unknown') id = os.environ.get('NS', 'unknown')
app = Flask(__name__) app = Flask(__name__)
apm = ElasticAPM(app, service_name=f"{id}-{service}") apm = ElasticAPM(app, service_name=f"{id}-{service}")
......
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