- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for prometheusApi (0.1 sec)
-
pkg/test/framework/components/prometheus/kube.go
scopes.Framework.Debugf("initialized Prometheus port forwarder: %v", forwarder.Address()) address := fmt.Sprintf("http://%s", forwarder.Address()) var client prometheusApi.Client client, err = prometheusApi.NewClient(prometheusApi.Config{Address: address}) if err != nil { return nil, err } c.api[cls.Name()] = prometheusApiV1.NewAPI(client) } return c, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 6.3K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
defer fw.Close() dashboard.ClosePortForwarderOnInterrupt(fw) log.Debugf("port-forward to prometheus pod ready") 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
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0)