yr.Alarm

Contents

yr.Alarm#

class yr.Alarm(name: str, description: str)[source]#

Bases: Metrics

Used to set and manage alarm information.

Parameters:
  • name (str) – The name of the alarm.

  • description (str) – Description of the alarm.

Methods

__init__

set

Set alarm to the given info.