This commit is contained in:
BryantHe 2023-07-27 16:08:36 +08:00
parent d2025c628e
commit a9adfa5cb1
1 changed files with 3 additions and 0 deletions

View File

@ -319,6 +319,9 @@ def metric_config_gen(module, class_name_str):
"""
from statsd.client.timer import Timer
import sys
click.echo(f'sys.path: {sys.path}')
# Extract information of statsd config from the class of nameko service
dest_dir = module.split('.')[0]
file_name = module.split('.')[-1]