mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-04 16:33:14 -04:00
Update python-node-exporter.py
This commit is contained in:
@@ -370,7 +370,7 @@ def ThreadProbe():
|
|||||||
log.debug("Thread Probe Started")
|
log.debug("Thread Probe Started")
|
||||||
metricsDictionary = {}
|
metricsDictionary = {}
|
||||||
|
|
||||||
if probe_thread.is_alive():
|
if auth_thread.is_alive():
|
||||||
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 1
|
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 1
|
||||||
else:
|
else:
|
||||||
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 0
|
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user