mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	add stability level to aggregator metrics and drop blank line in cmd file
This commit is contained in:
		@@ -29,7 +29,6 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
 | 
			
		||||
	rand.Seed(time.Now().UnixNano())
 | 
			
		||||
 | 
			
		||||
	command := app.NewAPIServerCommand()
 | 
			
		||||
 
 | 
			
		||||
@@ -26,6 +26,7 @@ var (
 | 
			
		||||
		&metrics.CounterOpts{
 | 
			
		||||
			Name:           "aggregator_unavailable_apiservice_count",
 | 
			
		||||
			Help:           "Counter of APIServices which are marked as unavailable broken down by APIService name and reason.",
 | 
			
		||||
			StabilityLevel: metrics.ALPHA,
 | 
			
		||||
		},
 | 
			
		||||
		[]string{"name", "reason"},
 | 
			
		||||
	)
 | 
			
		||||
@@ -33,6 +34,7 @@ var (
 | 
			
		||||
		&metrics.GaugeOpts{
 | 
			
		||||
			Name:           "aggregator_unavailable_apiservice",
 | 
			
		||||
			Help:           "Gauge of APIServices which are marked as unavailable broken down by APIService name.",
 | 
			
		||||
			StabilityLevel: metrics.ALPHA,
 | 
			
		||||
		},
 | 
			
		||||
		[]string{"name"},
 | 
			
		||||
	)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user