Class: God::Metric

Class | God::Metric
In: | lib/god/metric.rb
Parent: | Object

### Methods

condition disable enable new

### Attributes

conditions | [RW] |
destination | [RW] |
watch | [RW] |

### Public Class methods

new(watch, destination = nil)

### Public Instance methods

condition(kind) {|c| ...}

Instantiate a Condition of type `kind` and pass it into the optional block. Attributes of the condition must be set in the config file

disable()
enable()

[Validate]