Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix: update command metric-config-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryanthelol committed Aug 7, 2023
1 parent 2c58ffd commit 68b8eb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions namekoplus/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ def metric_config_gen(module, class_name_str):
import sys
from statsd.client.timer import Timer
sys.path.append(os.getcwd())
for root, dirs, files in os.walk(os.getcwd()):
for _dir in dirs:
sys.path.append(os.path.join(root, _dir))

# Extract information of statsd config from the class of nameko service
file_name = module.split('.')[-1]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='namekoplus',
version='0.4.8',
version='0.4.9',
description='A lightweight Python distributed microservice solution',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 68b8eb6

Please sign in to comment.