flexmetric 0.4.4__py3-none-any.whl → 0.5.1__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.
@@ -15,7 +15,7 @@ def create_clickhouse_client(db_conf):
15
15
  password = db_conf.get('password', '')
16
16
 
17
17
  client_cert = db_conf.get('client_cert')
18
- client_cert_key = db_conf.get('client_cert_key')
18
+ client_cert_key = db_conf.get('client_key')
19
19
  ca_cert = db_conf.get('ca_cert')
20
20
 
21
21
  secure = bool(client_cert and client_cert_key and ca_cert)
@@ -26,13 +26,14 @@ def create_clickhouse_client(db_conf):
26
26
  'username': username,
27
27
  'password': password,
28
28
  'secure': secure,
29
+ 'verify': False
29
30
  }
30
31
 
31
32
  if secure:
32
33
  settings.update({
33
34
  'client_cert': client_cert,
34
35
  'client_cert_key': client_cert_key,
35
- 'secure_ca': ca_cert,
36
+ 'ca_cert': ca_cert,
36
37
  })
37
38
 
38
39
  client = clickhouse_connect.get_client(**settings)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flexmetric
3
- Version: 0.4.4
3
+ Version: 0.5.1
4
4
  Summary: A secure flexible Prometheus exporter for commands, databases, functions.
5
5
  Home-page: https://github.com/nikhillingadhal1999/flexmetric
6
6
  Author: Nikhil Lingadhal
@@ -6,15 +6,15 @@ flexmetric/file_recognition/exec_file.py,sha256=9wBbnqPConxtLhqWTgigEr8VQG-fa9K_
6
6
  flexmetric/logging_module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  flexmetric/logging_module/logger.py,sha256=hXj9m2Q_KxJVI5YRHRoK6PXV5tO6NmvuVjq2Ipx_1tE,447
8
8
  flexmetric/metric_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- flexmetric/metric_process/database_connections.py,sha256=CqYrzXkwoB7yq4SpIu7_jDDNHSemaPsfDJj5DLwHSXM,1574
9
+ flexmetric/metric_process/database_connections.py,sha256=3yYQmFTBz9h_DKWlRxpKi-RFmaFDjz95oZh0Flvfpd8,1591
10
10
  flexmetric/metric_process/database_processing.py,sha256=_7C1DyC9jtgiTUti4_YYFpQlE0BlJwbaEx3OPpDCGSs,4633
11
11
  flexmetric/metric_process/expiring_queue.py,sha256=1oC0MjloitPiRo7yDgVarz81ETEQavKI_W-GFUvp5_Y,1920
12
12
  flexmetric/metric_process/process_commands.py,sha256=clGMQhLNcuJUO1gElpAS9Dyk0KU5w41DIguczjo7ceA,4089
13
13
  flexmetric/metric_process/prometheus_agent.py,sha256=pDPqiPtHLv1cfF6dPRNg2LtAhVF1UKf8MNZ_S9xuRQY,7712
14
14
  flexmetric/metric_process/queries_execution.py,sha256=NdnQ9Flbc8_6VOSY3aHxSmhcCsZf2zIxKTnc0hCp1oU,790
15
15
  flexmetric/metric_process/views.py,sha256=BY695dCpTkJRc1KLC9RNpFTieFdHeHvyqyefmHhMauE,3297
16
- flexmetric-0.4.4.dist-info/METADATA,sha256=EvJA9-Ov8X-KyO810Qj_UQsDeoEA38SyLTcnKU-6dgc,11276
17
- flexmetric-0.4.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
- flexmetric-0.4.4.dist-info/entry_points.txt,sha256=urVePn5EWr3JqNvkYP7OsB_h2_Bqvv-Wq1MJRBexm8A,79
19
- flexmetric-0.4.4.dist-info/top_level.txt,sha256=zBlrNwKhXUNhgu9RRZnXxYwYnmE-eocRe6wKSmQROA4,11
20
- flexmetric-0.4.4.dist-info/RECORD,,
16
+ flexmetric-0.5.1.dist-info/METADATA,sha256=pTpT0fjs-5GcnO8-Mq1t3UDz5DvCpgw7QaM5S7gZWyY,11276
17
+ flexmetric-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ flexmetric-0.5.1.dist-info/entry_points.txt,sha256=urVePn5EWr3JqNvkYP7OsB_h2_Bqvv-Wq1MJRBexm8A,79
19
+ flexmetric-0.5.1.dist-info/top_level.txt,sha256=zBlrNwKhXUNhgu9RRZnXxYwYnmE-eocRe6wKSmQROA4,11
20
+ flexmetric-0.5.1.dist-info/RECORD,,