- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newApi (0.15 sec)
-
istioctl/pkg/metrics/metrics.go
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) { parts := strings.Split(workload, ".") wname := parts[0] wns := "" if len(parts) > 1 {
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)