feat: add metrics for nameko services 2
This commit is contained in:
parent
ba7cc886e7
commit
e389125b10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue