class SplitIoClient::Telemetry::MemoryInitProducer

def find_factory_counters(action)

def find_factory_counters(action)
  @adapter.factory_counters.find { |l| l[:action] == action }
end

def initialize(config)

def initialize(config)
  @config = config
  @adapter = config.telemetry_adapter
end

def record_bur_timeout

def record_bur_timeout
  find_factory_counters(Domain::Constants::BUR_TIMEOUT)[:counts].increment
rescue StandardError => e
  @config.log_found_exception(__method__.to_s, e)
end

def record_config

def record_config
  # no op
end

def record_non_ready_usages

def record_non_ready_usages
  find_factory_counters(Domain::Constants::NON_READY_USAGES)[:counts].increment
rescue StandardError => e
  @config.log_found_exception(__method__.to_s, e)
end