Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BuildQueryCommon (0.27 sec)

  1. tests/integration/telemetry/api/stats_test.go

    			Name: "tcp",
    		},
    		Retry: echo.Retry{
    			NoRetry: true,
    		},
    	})
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    // BuildQueryCommon is the shared function to construct prom query for istio_request_total metric.
    func BuildQueryCommon(labels map[string]string, ns string) (sourceQuery, destinationQuery, appQuery prometheus.Query) {
    	sourceQuery.Metric = "istio_requests_total"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/customize_metrics_test.go

    		labels["request_operation"] = "getoperation"
    	}
    	if protocol == grpcProtocol {
    		labels["grpc_response_status"] = "OK"
    		labels["request_protocol"] = "grpc"
    	}
    
    	_, destinationQuery, _ = BuildQueryCommon(labels, apps.Namespace.Name())
    	return destinationQuery
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top