tardis.plugins.telegrafmonitoring module

class tardis.plugins.telegrafmonitoring.TelegrafMonitoring[source]

Bases: tardis.interfaces.plugin.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: tardis.interfaces.state.State, resource_attributes: tardis.utilities.attributedict.AttributeDict) None[source]

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

  • 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.)