tardis.plugins.telegrafmonitoring module

class tardis.plugins.telegrafmonitoring.TelegrafMonitoring[source]

Bases: Plugin

The TelegrafMonitoring implements an interface to monitor state changes of the Drones in a telegraf service running a UDP input module.

async notify(state: State, resource_attributes: AttributeDict) None[source]

Push changed state and updated meta-data of the drone into the telegraf server

Parameters
  • state (State) – New state of the Drone

  • resource_attributes (AttributeDict) – Contains all meta-data of the Drone (created and updated timestamps, dns name, unique id, site_name, machine_type, etc.)

Returns

None