Sha256: 5c9a085e4f287ce107a5fc7acddcded99a6322e71a8c6b612d835645e9cf7d0e
Contents?: true
Size: 583 Bytes
Versions: 136
Compression:
Stored size: 583 Bytes
Contents
# frozen_string_literal: true module SplitIoClient module Telemetry class InitProducer extend Forwardable def_delegators :@init, :record_config, :record_non_ready_usages, :record_bur_timeout def initialize(config) @init = case config.telemetry_adapter.class.to_s when 'SplitIoClient::Cache::Adapters::RedisAdapter' SplitIoClient::Telemetry::RedisInitProducer.new(config) else SplitIoClient::Telemetry::MemoryInitProducer.new(config) end end end end end
Version data entries
136 entries across 136 versions & 1 rubygems