Class: Metrics::Instruments::Instrument
- Inherits:
-
Object
- Object
- Metrics::Instruments::Instrument
- Defined in:
- lib/ruby-metrics/instruments/instrument.rb
Instance Method Summary collapse
Instance Method Details
#tag(key, value) ⇒ Object
8 9 10 11 |
# File 'lib/ruby-metrics/instruments/instrument.rb', line 8 def tag(key, value) @tags ||= {} @tags[key] = value end |
#tags ⇒ Object
4 5 6 |
# File 'lib/ruby-metrics/instruments/instrument.rb', line 4 def @tags ||= {} end |