- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Sum (0.23 sec)
-
istioctl/pkg/metrics/metrics.go
wname := parts[0] wns := "" if len(parts) > 1 { wns = parts[1] } rpsQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination"}[%s]))`, reqTot, destWorkloadLabel, wname, destWorkloadNamespaceLabel, wns, duration) errRPSQuery := fmt.Sprintf(`sum(rate(%s{%s=~"%s.*", %s=~"%s.*",reporter="destination",response_code=~"[45][0-9]{2}"}[%s]))`,
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) -
istioctl/pkg/metrics/metrics_test.go
mockProm := mockPromAPI{ cannedResponse: map[string]prometheus_model.Value{ "sum(rate(istio_requests_total{destination_workload=~\"details.*\", destination_workload_namespace=~\".*\",reporter=\"destination\"}[1m0s]))": prometheus_model.Vector{ // nolint: lll &prometheus_model.Sample{Value: 0.04}, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0)