# File lib/cabin/metrics/counter.rb, line 37
  def to_hash
    return @lock.synchronize do
      { :value => @value }
    end
  end