class DTK::State::Component::Attribute::Influxdb::Measurement::States

Public Instance Methods

get_required_tags(type, name, namespace, object_state, component_name, attribute_name, task_id) click to toggle source
# File lib/state/component/providers/influxdb/measurement/states.rb, line 11
def get_required_tags(type, name, namespace, object_state, component_name, attribute_name, task_id)
  {
    type: type,
    name: name,
    namespace: namespace,
    object_state: object_state,
    component_name: component_name,
    attribute_name: attribute_name,
    task_id: task_id
  }
end
write(value, params_hash = {}, timestamp) click to toggle source
# File lib/state/component/providers/influxdb/measurement/states.rb, line 6
def write(value, params_hash = {}, timestamp)
  checked_params_hash = check_params_hash(params_hash)
  write_point(value, checked_params_hash, timestamp)
end

Protected Instance Methods

required_params() click to toggle source
# File lib/state/component/providers/influxdb/measurement/states.rb, line 25
def required_params
  %i[type name namespace object_state component_name attribute_name task_id]
end