Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PromDiff (0.19 sec)

  1. tests/integration/telemetry/util.go

    	"istio.io/istio/pkg/test/framework/components/prometheus"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // PromDiff compares a query with labels to a query of the same metric without labels, and notes the closest matching
    // metric.
    func PromDiff(t test.Failer, prom prometheus.Instance, cluster cluster.Cluster, query prometheus.Query) {
    	t.Helper()
    	unlabelled := prometheus.Query{Metric: query.Metric}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 16:30:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/stats_test.go

    						if _, err := prom.QuerySum(c, sourceQuery); err != nil {
    							util.PromDiff(t, prom, c, sourceQuery)
    							return err
    						}
    						// Query client side metrics for non-injected server
    						outOfMeshServerQuery := buildOutOfMeshServerQuery(sourceCluster)
    						if _, err := prom.QuerySum(c, outOfMeshServerQuery); err != nil {
    							util.PromDiff(t, prom, c, outOfMeshServerQuery)
    							return err
    						}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. tests/integration/telemetry/api/customize_metrics_test.go

    					if err != nil {
    						util.PromDiff(t, promInst, cluster, httpDestinationQuery)
    						return err
    					}
    					httpChecked = true
    				}
    				_, err = util.QueryPrometheus(t, cluster, grpcDestinationQuery, promInst)
    				if err != nil {
    					util.PromDiff(t, promInst, cluster, grpcDestinationQuery)
    					return err
    				}
    				return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/wasmplugin_test.go

    		c := to.Config().Cluster
    		if _, err := util.QueryPrometheus(t, c, q, promInst); err != nil {
    			util.PromDiff(t, promInst, c, q)
    			return err
    		}
    		return nil
    	}, retry.Delay(1*time.Second), retry.Timeout(80*time.Second))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    								return false
    							}
    							return true
    						}, retry.Timeout(30*time.Second), retry.BackoffDelay(1*time.Second))
    						if err != nil {
    							util.PromDiff(t, prom, localSrc.Config().Cluster, query)
    							stc.Errorf("could not validate L7 telemetry for %q to %q: %v", deployName(localSrc), localDst.Config().Service, err)
    						}
    					})
    				}
    			}
    		})
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top