flexmetric 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flexmetric/config/__init__.py +0 -0
- flexmetric/config/configuration.py +4 -0
- flexmetric/metric_process/prometheus_agent.py +3 -2
- {flexmetric-0.1.1.dist-info → flexmetric-0.1.3.dist-info}/METADATA +1 -1
- {flexmetric-0.1.1.dist-info → flexmetric-0.1.3.dist-info}/RECORD +8 -6
- {flexmetric-0.1.1.dist-info → flexmetric-0.1.3.dist-info}/WHEEL +0 -0
- {flexmetric-0.1.1.dist-info → flexmetric-0.1.3.dist-info}/entry_points.txt +0 -0
- {flexmetric-0.1.1.dist-info → flexmetric-0.1.3.dist-info}/top_level.txt +0 -0
File without changes
|
@@ -123,7 +123,8 @@ def measure(init_flag,args):
|
|
123
123
|
label_dict = dict(zip(labels, result['label']))
|
124
124
|
gauge.labels(**label_dict).set(convert_to_data_type(result['value']))
|
125
125
|
|
126
|
-
|
126
|
+
|
127
|
+
def main():
|
127
128
|
args = arguments()
|
128
129
|
print("Validating configuration...")
|
129
130
|
if not validate_all_modes(args):
|
@@ -137,4 +138,4 @@ if __name__ == "__main__":
|
|
137
138
|
while True:
|
138
139
|
measure(flag,args)
|
139
140
|
flag = False
|
140
|
-
time.sleep(5)
|
141
|
+
time.sleep(5)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: flexmetric
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: A flexible Prometheus exporter for commands, databases, functions, and scripts.
|
5
5
|
Home-page: https://github.com/nikhillingadhal1999/custom_prometheus_agent
|
6
6
|
Author: Nikhil Lingadhal
|
@@ -1,4 +1,6 @@
|
|
1
1
|
flexmetric/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
flexmetric/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
+
flexmetric/config/configuration.py,sha256=rlcpvH-Pe8U1suI_hmkZ9Ky4csneoShZGpqPuQNSDSo,129
|
2
4
|
flexmetric/file_recognition/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
5
|
flexmetric/file_recognition/exec_file.py,sha256=9wBbnqPConxtLhqWTgigEr8VQG-fa9K_U9UOLjqF8Xw,4273
|
4
6
|
flexmetric/logging_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -6,9 +8,9 @@ flexmetric/logging_module/logger.py,sha256=hXj9m2Q_KxJVI5YRHRoK6PXV5tO6NmvuVjq2I
|
|
6
8
|
flexmetric/metric_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
9
|
flexmetric/metric_process/database_processing.py,sha256=OAJ0FbvjQLSqUh85KenuEQ5YG7ghWQYT-pzqogCOafk,2542
|
8
10
|
flexmetric/metric_process/process_commands.py,sha256=cHtoyzP0IgZOwoS_BgFZU0VHuOKQO0UVvGOCwWuByNM,2236
|
9
|
-
flexmetric/metric_process/prometheus_agent.py,sha256=
|
10
|
-
flexmetric-0.1.
|
11
|
-
flexmetric-0.1.
|
12
|
-
flexmetric-0.1.
|
13
|
-
flexmetric-0.1.
|
14
|
-
flexmetric-0.1.
|
11
|
+
flexmetric/metric_process/prometheus_agent.py,sha256=1C18_n4qsqkxim20raD2LAZJm1zDd9AEPpVmuxDC9MA,5359
|
12
|
+
flexmetric-0.1.3.dist-info/METADATA,sha256=FAXGW1RX6ZaOQpbGnNMyIwi_x74UyHwIKmag1ijq7y4,5373
|
13
|
+
flexmetric-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
14
|
+
flexmetric-0.1.3.dist-info/entry_points.txt,sha256=urVePn5EWr3JqNvkYP7OsB_h2_Bqvv-Wq1MJRBexm8A,79
|
15
|
+
flexmetric-0.1.3.dist-info/top_level.txt,sha256=zBlrNwKhXUNhgu9RRZnXxYwYnmE-eocRe6wKSmQROA4,11
|
16
|
+
flexmetric-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|