Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for QueryRange (0.08 sec)

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

    	"$__rate_interval", "1m",
    )
    
    func checkMetric(cl cluster.Cluster, p prometheus.Instance, query string, excluded []string) error {
    	query = replacer.Replace(query)
    	value, _, err := p.APIForCluster(cl).QueryRange(context.Background(), query, promv1.Range{
    		Start: time.Now().Add(-time.Minute),
    		End:   time.Now(),
    		Step:  time.Second,
    	})
    	if err != nil {
    		return fmt.Errorf("failure executing query (%s): %v", query, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top