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