Sha256: b2ac0f1d3af96808ab05a41f792cdff76d592b21e8f2b1bb80e7194bacda8e4b
Contents?: true
Size: 1.01 KB
Versions: 14
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require_relative 'request' module Datadog module Core module Telemetry module V2 # Telemetry 'app-client-configuration-change' event. # This request should contain client library configuration that have changes since the app-started event. class AppClientConfigurationChange < Request def initialize(configuration_changes, origin: 'unknown') super('app-client-configuration-change') @configuration_changes = configuration_changes @origin = origin end # @see [Request#to_h] def to_h super.merge(payload: payload) end private def payload { configuration: @configuration_changes.map do |name, value| { name: name, value: value, origin: @origin, } end } end end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems