flexmetric 0.1.2__tar.gz → 0.1.3__tar.gz

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.
Files changed (21) hide show
  1. {flexmetric-0.1.2 → flexmetric-0.1.3}/PKG-INFO +1 -1
  2. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/metric_process/prometheus_agent.py +3 -2
  3. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/PKG-INFO +1 -1
  4. {flexmetric-0.1.2 → flexmetric-0.1.3}/setup.py +1 -1
  5. {flexmetric-0.1.2 → flexmetric-0.1.3}/README.md +0 -0
  6. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/__init__.py +0 -0
  7. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/config/__init__.py +0 -0
  8. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/config/configuration.py +0 -0
  9. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/file_recognition/__init__.py +0 -0
  10. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/file_recognition/exec_file.py +0 -0
  11. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/logging_module/__init__.py +0 -0
  12. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/logging_module/logger.py +0 -0
  13. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/metric_process/__init__.py +0 -0
  14. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/metric_process/database_processing.py +0 -0
  15. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric/metric_process/process_commands.py +0 -0
  16. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/SOURCES.txt +0 -0
  17. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/dependency_links.txt +0 -0
  18. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/entry_points.txt +0 -0
  19. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/requires.txt +0 -0
  20. {flexmetric-0.1.2 → flexmetric-0.1.3}/flexmetric.egg-info/top_level.txt +0 -0
  21. {flexmetric-0.1.2 → flexmetric-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flexmetric
3
- Version: 0.1.2
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
@@ -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
- if __name__ == "__main__":
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.2
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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="flexmetric",
5
- version="0.1.2",
5
+ version="0.1.3",
6
6
  author="Nikhil Lingadhal",
7
7
  description="A flexible Prometheus exporter for commands, databases, functions, and scripts.",
8
8
  long_description=open("README.md").read(),
File without changes
File without changes