mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-05 08:43:14 -04:00
Update python-node-exporter.py
This commit is contained in:
@@ -62,10 +62,10 @@ def GetDataFunc():
|
|||||||
# open file to write new data
|
# open file to write new data
|
||||||
file_object = open('metrics.txt', 'w')
|
file_object = open('metrics.txt', 'w')
|
||||||
for item in metricsDictionary :
|
for item in metricsDictionary :
|
||||||
file_object.write("\n")
|
|
||||||
file_object.write(item)
|
file_object.write(item)
|
||||||
file_object.write(" ")
|
file_object.write(" ")
|
||||||
file_object.write(str(metricsDictionary[item]))
|
file_object.write(str(metricsDictionary[item]))
|
||||||
|
file_object.write("\n")
|
||||||
|
|
||||||
|
|
||||||
# run GetDataFunc func in the background
|
# run GetDataFunc func in the background
|
||||||
|
|||||||
Reference in New Issue
Block a user