Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for istio_requests_total (0.29 sec)

  1. tests/integration/telemetry/policy/traffic_allow_any_test.go

    func TestOutboundTrafficPolicy_AllowAny(t *testing.T) {
    	cases := []*TestCase{
    		{
    			Name:     "HTTP Traffic",
    			PortName: "http",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_requests_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"reporter":                 "source",
    						"destination_service_name": "PassthroughCluster",
    						"response_code":            "200",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  2. tests/integration/telemetry/policy/traffic_registry_only_test.go

    func TestOutboundTrafficPolicy_RegistryOnly(t *testing.T) {
    	cases := []*TestCase{
    		{
    			Name:     "HTTP Traffic",
    			PortName: "http",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_requests_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"reporter":                 "source",
    						"destination_service_name": "BlackHoleCluster",
    						"response_code":            "502",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. 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},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 02:07:44 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/customize_metrics_test.go

            source_principal:
              operation: REMOVE
    
    `).ApplyOrFail(t)
    			t.Cleanup(func() {
    				if t.Failed() {
    					util.PromDump(t.Clusters().Default(), promInst, prometheus.Query{Metric: "istio_requests_total"})
    				}
    			})
    			httpDestinationQuery := buildCustomMetricsQuery(httpProtocol)
    			grpcDestinationQuery := buildCustomMetricsQuery(grpcProtocol)
    			var httpMetricVal string
    			cluster := t.Clusters().Default()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

    	metricsDuration time.Duration
    )
    
    const (
    	destWorkloadLabel          = "destination_workload"
    	destWorkloadNamespaceLabel = "destination_workload_namespace"
    	reqTot                     = "istio_requests_total"
    	reqDur                     = "istio_request_duration_milliseconds"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "metrics <workload name>...",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top