This commit is contained in:
BryantHe 2023-07-27 16:43:29 +08:00
parent 989eb0f0f4
commit d8ee68bcc6
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ def metric_config_gen(module, class_name_str):
""" """
import sys import sys
from statsd.client.timer import Timer from statsd.client.timer import Timer
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))))) sys.path.append('.')
click.echo(f'sys.path: {sys.path}') click.echo(f'sys.path: {sys.path}')
# Extract information of statsd config from the class of nameko service # Extract information of statsd config from the class of nameko service