Class: FFWD::MetricStruct
- Inherits:
-
Struct
- Object
- Struct
- FFWD::MetricStruct
- Defined in:
- lib/ffwd/metric.rb
Overview
Struct used to define all fields related to a metric.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#host ⇒ Object
Returns the value of attribute host.
-
#key ⇒ Object
Returns the value of attribute key.
-
#source ⇒ Object
Returns the value of attribute source.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#time ⇒ Object
Returns the value of attribute time.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def attributes @attributes end |
#host ⇒ Object
Returns the value of attribute host
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def host @host end |
#key ⇒ Object
Returns the value of attribute key
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def key @key end |
#source ⇒ Object
Returns the value of attribute source
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def source @source end |
#tags ⇒ Object
Returns the value of attribute tags
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def end |
#time ⇒ Object
Returns the value of attribute time
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def time @time end |
#value ⇒ Object
Returns the value of attribute value
18 19 20 |
# File 'lib/ffwd/metric.rb', line 18 def value @value end |