Class Cabin::Metrics::Gauge
In: lib/cabin/metrics/gauge.rb
lib/cabin/metrics/gauge.rb
Parent: Object

Methods

new   new   to_hash   to_hash   value   value  

Included Modules

Cabin::Metric Cabin::Metric

Public Class methods

A new Gauge. The block given will be called every time the metric is read.

A new Gauge. The block given will be called every time the metric is read.

Public Instance methods

Get the value of this metric.

Get the value of this metric.

[Validate]