Update python-node-exporter.py

This commit is contained in:
2023-03-08 23:33:19 -05:00
parent abed5d9620
commit 2897ae0fa9
+1 -1
View File
@@ -370,7 +370,7 @@ def ThreadProbe():
log.debug("Thread Probe Started")
metricsDictionary = {}
if probe_thread.is_alive():
if auth_thread.is_alive():
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 1
else:
metricsDictionary["exporter_thread_status{thread=\"" + "AuthHandler" + "\"}"] = 0