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
-
#external_attr ⇒ Object
Returns the value of attribute external_attr.
-
#external_tags ⇒ Object
Returns the value of attribute external_tags.
-
#fixed_attr ⇒ Object
Returns the value of attribute fixed_attr.
-
#fixed_tags ⇒ Object
Returns the value of attribute fixed_tags.
-
#host ⇒ Object
Returns the value of attribute host.
-
#key ⇒ Object
Returns the value of attribute key.
-
#source ⇒ Object
Returns the value of attribute source.
-
#time ⇒ Object
Returns the value of attribute time.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#external_attr ⇒ Object
Returns the value of attribute external_attr
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def external_attr @external_attr end |
#external_tags ⇒ Object
Returns the value of attribute external_tags
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def @external_tags end |
#fixed_attr ⇒ Object
Returns the value of attribute fixed_attr
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def fixed_attr @fixed_attr end |
#fixed_tags ⇒ Object
Returns the value of attribute fixed_tags
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def @fixed_tags end |
#host ⇒ Object
Returns the value of attribute host
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def host @host end |
#key ⇒ Object
Returns the value of attribute key
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def key @key end |
#source ⇒ Object
Returns the value of attribute source
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def source @source end |
#time ⇒ Object
Returns the value of attribute time
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def time @time end |
#value ⇒ Object
Returns the value of attribute value
20 21 22 |
# File 'lib/ffwd/metric.rb', line 20 def value @value end |