mirror of
https://github.com/Bryanthelol/namekoplus
synced 2025-09-14 20:36:03 +08:00
feat: add metrics for nameko services 2
This commit is contained in:
@@ -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('/home/ubuntu/namekoplus-examples') # TODO
|
sys.path.append(os.getcwd())
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user