Set service name

pull/5544/head
Jorik Schellekens 2019-06-24 16:44:47 +01:00
parent ed5d00f280
commit a69e6aad77
1 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,7 @@ def init_tracing(config):
}, },
'logging': True, 'logging': True,
}, },
service_name=config.server_name + "_new", service_name=config.server_name,
scope_manager=LogContextScopeManager(config), scope_manager=LogContextScopeManager(config),
) )
else: # The tracer is not configured so we instantiate a noop tracer else: # The tracer is not configured so we instantiate a noop tracer
@ -84,7 +84,8 @@ def init_tracing(config):
'type': 'const', 'type': 'const',
'param': 0, 'param': 0,
} }
} },
service_name=config.server_name
) )
return jaeger_config.initialize_tracer() return jaeger_config.initialize_tracer()