Class RandomSampleConfig (1.39.0)

  RandomSampleConfig 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Requests are randomly selected.

Attribute

Name
Description
sample_rate
float
Sample rate (0, 1]

Methods

RandomSampleConfig

  RandomSampleConfig 
 ( 
 mapping 
 = 
 None 
 , 
 * 
 , 
 ignore_unknown_fields 
 = 
 False 
 , 
 ** 
 kwargs 
 ) 
 

Requests are randomly selected.