- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for printHeader (0.08 sec)
-
istioctl/pkg/metrics/metrics.go
promAPI, err := prometheusAPI(fmt.Sprintf("http://%s", fw.Address())) if err != nil { return fmt.Errorf("failure running port forward process: %v", err) } printHeader(c.OutOrStdout()) workloads := args for _, workload := range workloads { sm, err := metrics(promAPI, workload, metricsDuration) 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) -
istioctl/pkg/metrics/metrics_test.go
}, }, } workload := "details" sm, err := metrics(mockProm, workload, time.Minute) if err != nil { t.Fatalf("Unwanted exception %v", err) } var out bytes.Buffer printHeader(&out) printMetrics(&out, sm) output := out.String() expectedOutput := ` WORKLOAD TOTAL RPS ERROR RPS P50 LATENCY P90 LATENCY P99 LATENCY
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 01:35:47 UTC 2024 - 8K bytes - Viewed (0)