Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prompt (0.13 sec)

  1. istioctl/pkg/metrics/metrics.go

    	}
    	return nil
    }
    
    func prometheusAPI(address string) (promv1.API, error) {
    	promClient, err := api.NewClient(api.Config{Address: address})
    	if err != nil {
    		return nil, fmt.Errorf("could not build prometheus client: %v", err)
    	}
    	return promv1.NewAPI(promClient), nil
    }
    
    func metrics(promAPI promv1.API, workload string, duration time.Duration) (workloadMetrics, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top