From e389125b10f1879fccc9dd5b48587a518634be9d Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 27 Jul 2023 18:15:26 +0800 Subject: [PATCH] feat: add metrics for nameko services 2 --- namekoplus/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/namekoplus/command.py b/namekoplus/command.py index f812d68..7fa2482 100644 --- a/namekoplus/command.py +++ b/namekoplus/command.py @@ -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