Beispiel #1
0
    def emit_monitor_event(settings, item_identifier, version, run, event_type,
                           status, message):
        message = dashboard_queue.build_event_message(item_identifier, version,
                                                      run, event_type,
                                                      datetime.datetime.now(),
                                                      status, message)

        dashboard_queue.send_message(message, settings)
Beispiel #2
0
 def set_monitor_property(settings,
                          item_identifier,
                          name,
                          value,
                          property_type,
                          version=0):
     message = dashboard_queue.build_property_message(
         item_identifier, version, name, value, property_type)
     dashboard_queue.send_message(message, settings)
Beispiel #3
0
 def set_monitor_property(settings, item_identifier, name, value, property_type, version=0):
     message = dashboard_queue.build_property_message(item_identifier, version, name, value, property_type)
     dashboard_queue.send_message(message, settings)
     pass
Beispiel #4
0
    def emit_monitor_event(settings, item_identifier, version, run, event_type, status, message):
        message = dashboard_queue.build_event_message(item_identifier, version, run, event_type,
                                                      datetime.datetime.now(),
                                                      status, message)

        dashboard_queue.send_message(message, settings)