Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. istioctl/pkg/metrics/metrics.go

    	letency, err := vectorValue(promAPI, latencyQuery)
    	if err != nil {
    		return time.Duration(0), err
    	}
    
    	return convertLatencyToDuration(letency), nil
    }
    
    func vectorValue(promAPI promv1.API, query string) (float64, error) {
    	val, _, err := promAPI.Query(context.Background(), query, time.Now())
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top