Class: FFWD::MetricStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffwd/metric.rb

Overview

Struct used to define all fields related to a metric.

Direct Known Subclasses

Metric

Instance Attribute Summary collapse

Instance Attribute Details

#external_attrObject

Returns the value of attribute external_attr

Returns:

  • (Object)

    the current value of external_attr



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def external_attr
  @external_attr
end

#external_tagsObject

Returns the value of attribute external_tags

Returns:

  • (Object)

    the current value of external_tags



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def external_tags
  @external_tags
end

#fixed_attrObject

Returns the value of attribute fixed_attr

Returns:

  • (Object)

    the current value of fixed_attr



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def fixed_attr
  @fixed_attr
end

#fixed_tagsObject

Returns the value of attribute fixed_tags

Returns:

  • (Object)

    the current value of fixed_tags



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def fixed_tags
  @fixed_tags
end

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def host
  @host
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def key
  @key
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def source
  @source
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def time
  @time
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



20
21
22
# File 'lib/ffwd/metric.rb', line 20

def value
  @value
end