Exemple #1
0
 def commit(self):
     """
     Upload new data to netdata.
     """
     try:
         print(self._data_stream)
     except Exception as e:
         msg.fatal('cannot send data to netdata:', str(e))
     self._data_stream = ""
Exemple #2
0
 def commit(self):
     """
     Upload new data to netdata.
     """
     try:
         print(self._data_stream)
     except Exception as e:
         msg.fatal('cannot send data to netdata:', str(e))
     self._data_stream = ""