mirror of
https://github.com/Bryanthelol/namekoplus
synced 2025-07-28 07:10:42 +08:00
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…
x
Reference in New Issue
Block a user