This commit is contained in:
parent
782728e661
commit
757d0924ec
@ -55,7 +55,8 @@ register_all_error_handlers(app)
|
||||
|
||||
# Setup tracing
|
||||
def initialize_tracer():
|
||||
jaeger_cfg = jaeger_client.Config(config={}, service_name='cnn-classification-service', validate=True)
|
||||
app.logger.info("Initializing jaeger...")
|
||||
jaeger_cfg = jaeger_client.Config(config={}, service_name='model-service', validate=True)
|
||||
tracer = jaeger_cfg.initialize_tracer()
|
||||
return tracer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user