flexmetric 0.4.4__py3-none-any.whl → 0.5.0__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/metric_process/database_connections.py +3 -2
- {flexmetric-0.4.4.dist-info → flexmetric-0.5.0.dist-info}/METADATA +1 -1
- {flexmetric-0.4.4.dist-info → flexmetric-0.5.0.dist-info}/RECORD +6 -6
- {flexmetric-0.4.4.dist-info → flexmetric-0.5.0.dist-info}/WHEEL +0 -0
- {flexmetric-0.4.4.dist-info → flexmetric-0.5.0.dist-info}/entry_points.txt +0 -0
- {flexmetric-0.4.4.dist-info → flexmetric-0.5.0.dist-info}/top_level.txt +0 -0
@@ -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('
|
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': True
|
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
|
-
'
|
36
|
+
'ca_cert': ca_cert,
|
36
37
|
})
|
37
38
|
|
38
39
|
client = clickhouse_connect.get_client(**settings)
|
@@ -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=
|
9
|
+
flexmetric/metric_process/database_connections.py,sha256=G76qZgKp61gEbejpWL956SM9okUzMavC6nSIrOPnD_k,1590
|
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.
|
17
|
-
flexmetric-0.
|
18
|
-
flexmetric-0.
|
19
|
-
flexmetric-0.
|
20
|
-
flexmetric-0.
|
16
|
+
flexmetric-0.5.0.dist-info/METADATA,sha256=oKYei2gWS8fHPBhlNhUCpdJLeWWb5QiKOwzf1p6PYfU,11276
|
17
|
+
flexmetric-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
18
|
+
flexmetric-0.5.0.dist-info/entry_points.txt,sha256=urVePn5EWr3JqNvkYP7OsB_h2_Bqvv-Wq1MJRBexm8A,79
|
19
|
+
flexmetric-0.5.0.dist-info/top_level.txt,sha256=zBlrNwKhXUNhgu9RRZnXxYwYnmE-eocRe6wKSmQROA4,11
|
20
|
+
flexmetric-0.5.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|