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

Public Instance Methods

get_correlator_type(entrypoint) click to toggle source
# File lib/state/component/providers/influxdb/measurement/errors.rb, line 11
def get_correlator_type(entrypoint)
  {
    correlator_type: entrypoint.split('/').last.split('.')[0]
  }
end
write(value, params_hash = {}, timestamp) click to toggle source
# File lib/state/component/providers/influxdb/measurement/errors.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/errors.rb, line 19
def required_params
  %i[namespace component_name assembly_name task_id attribute_name correlator_type]
end