File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed 
sdk/include/opentelemetry/sdk/metrics/aggregation Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,22 @@ class AggregationConfig
3737class  HistogramAggregationConfig  : public  AggregationConfig 
3838{
3939public: 
40+   HistogramAggregationConfig (size_t  cardinality_limit = kAggregationCardinalityLimit )
41+       : AggregationConfig(cardinality_limit)
42+   {}
43+ 
4044  std::vector<double > boundaries_;
4145  bool  record_min_max_ = true ;
4246};
4347
4448class  Base2ExponentialHistogramAggregationConfig  : public  AggregationConfig 
4549{
4650public: 
51+   Base2ExponentialHistogramAggregationConfig (
52+       size_t  cardinality_limit = kAggregationCardinalityLimit )
53+       : AggregationConfig(cardinality_limit)
54+   {}
55+ 
4756  size_t  max_buckets_  = 160 ;
4857  int32_t  max_scale_   = 20 ;
4958  bool  record_min_max_ = true ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments