We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4010a7 commit 886522aCopy full SHA for 886522a
collectors_list.py
@@ -8,11 +8,15 @@
8
collectors = {}
9
10
11
+print("collectors dir: {}".format(settings.COLLECTORS_DIR))
12
for root, dirs, files in os.walk(settings.COLLECTORS_DIR):
13
for file in files:
14
if file.endswith(".py"):
15
+ print("processing file: {}".format(file))
16
+
17
file_path = os.path.join(root, file)
18
module_name = os.path.splitext(file_path)[0].replace('/', '.')
19
+ print("module name: {}".format(module_name))
20
spec = importlib.util.spec_from_file_location(module_name, file_path)
21
22
collector_module = importlib.util.module_from_spec(spec)
0 commit comments