Add missing feature gate for cpu metrics
This commit is contained in:
		
							parent
							
								
									67d4946347
								
							
						
					
					
						commit
						1c403459ca
					
				| 
						 | 
				
			
			@ -121,7 +121,7 @@ module Gitlab
 | 
			
		|||
            docstring "Measure #{name}"
 | 
			
		||||
            base_labels Transaction::BASE_LABELS
 | 
			
		||||
            buckets EXECUTION_MEASUREMENT_BUCKETS
 | 
			
		||||
            # with_feature "prometheus_metrics_measure_#{name}_cpu_duration"
 | 
			
		||||
            with_feature "prometheus_metrics_measure_#{name}_cpu_duration"
 | 
			
		||||
          end
 | 
			
		||||
          cpu_duration_seconds.observe(trans.labels, cpu_time)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue