Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for controller_sync_errors_total (0.16 sec)

  1. pilot/pkg/util/informermetric/informerutil.go

    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	clusterLabel = monitoring.CreateLabel("cluster")
    
    	errorMetric = monitoring.NewSum(
    		"controller_sync_errors_total",
    		"Total number of errorMetric syncing controllers.",
    	)
    
    	mu       sync.RWMutex
    	handlers = map[cluster.ID]cache.WatchErrorHandler{}
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. pkg/kube/kclient/client_test.go

    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    	c.RunAndWait(test.NewStop(t))
    	deployments := kclient.New[*appsv1.Deployment](c)
    	deployments.Start(test.NewStop(t))
    	mt.Assert("controller_sync_errors_total", map[string]string{"cluster": "fake"}, monitortest.AtLeast(1))
    }
    
    func TestToOpts(t *testing.T) {
    	test.SetForTest(t, &features.InformerWatchNamespace, "istio-system")
    	c := kube.NewFakeClient()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top