Sha256: 8313c8e2309d646a87264a0e4e92d135a63109976a8826acad3259331f65fbc7
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
require "delegate" module Flipper module Cloud class Telemetry class Instrumenter attr_reader :instrumenter def initialize(cloud_configuration, instrumenter) @instrumenter = instrumenter @cloud_configuration = cloud_configuration end def instrument(name, payload = {}, &block) return_value = instrumenter.instrument(name, payload, &block) @cloud_configuration.telemetry.record(name, payload) return_value end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems