feat: add metrics for nameko services 2

This commit is contained in:
BryantHe 2023-07-27 18:15:26 +08:00
parent ba7cc886e7
commit e389125b10
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
from statsd.client.timer import Timer
sys.path.append('/home/ubuntu/namekoplus-examples') # TODO
sys.path.append(os.getcwd())
click.echo(f'sys.path: {sys.path}')
# Extract information of statsd config from the class of nameko service