class Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig
TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.
Attributes
sampler[RW]
Sampler of distributed tracing. OFF is the default value. Corresponds to the JSON property `sampler` @return [String]
sampling_rate[RW]
Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5. Corresponds to the JSON property `samplingRate` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 7285 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 7290 def update!(**args) @sampler = args[:sampler] if args.key?(:sampler) @sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate) end