Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPrintMetrics (0.09 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    			testutil.VerifyOutput(t, metricCmd, c)
    		})
    	}
    }
    
    func TestAPI(t *testing.T) {
    	_, _ = prometheusAPI(fmt.Sprintf("http://localhost:%d", 1234))
    }
    
    var _ promv1.API = mockPromAPI{}
    
    func TestPrintMetrics(t *testing.T) {
    	mockProm := mockPromAPI{
    		cannedResponse: map[string]prometheus_model.Value{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top