lib/ustate/state.rb in ustate-client-0.0.2 vs lib/ustate/state.rb in ustate-client-0.0.3
- old
+ new
@@ -4,9 +4,10 @@
optional :time, :int64, 1
optional :state, :string, 2
optional :service, :string, 3
optional :host, :string, 4
optional :description, :string, 5
+ optional :once, :bool, 6
optional :metric_f, :float, 15
def metric
@metric || metric_f
end