Class: Hallmonitor::Outputters::Influxdb::EventData

Inherits:
Struct
  • Object
show all
Defined in:
lib/hallmonitor/outputters/influxdb.rb

Overview

Simple EventData struct, used to communicate with an optional Transformer

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



11
12
13
# File 'lib/hallmonitor/outputters/influxdb.rb', line 11

def fields
  @fields
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/hallmonitor/outputters/influxdb.rb', line 11

def name
  @name
end

#tagsObject

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



11
12
13
# File 'lib/hallmonitor/outputters/influxdb.rb', line 11

def tags
  @tags
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



11
12
13
# File 'lib/hallmonitor/outputters/influxdb.rb', line 11

def timestamp
  @timestamp
end