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

Public Instance Methods

get_required_tags(event_id, pod_name, pod_namespace, component_name, attribute_name, task_id) click to toggle source
# File lib/state/component/providers/influxdb/measurement/events.rb, line 11
def get_required_tags(event_id, pod_name, pod_namespace, component_name, attribute_name, task_id)
  {
    event_id: event_id,
    pod_name: pod_name,
    pod_namespace: pod_namespace,
    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/events.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/events.rb, line 24
def required_params
  %i[event_id pod_name pod_namespace component_name attribute_name task_id]
end