Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VerifyOtelEchoTraces (0.15 sec)

  1. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    									t.Logf("got traces %v from %s", traces, cluster)
    									if err != nil {
    										return fmt.Errorf("cannot get traces from zipkin: %v", err)
    									}
    									if !tracing.VerifyOtelEchoTraces(ctx, appNsInst.Name(), cluster.Name(), traces) {
    										return errors.New("cannot find expected traces")
    									}
    									return nil
    								}, retry.Delay(3*time.Second), retry.Timeout(80*time.Second))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tests/integration/telemetry/tracing/tracing.go

    			// find the root span of candidate trace and do recursive comparison
    			if s.ParentSpanID == "" && CompareTrace(t, s, wtr) {
    				return true
    			}
    		}
    	}
    
    	return false
    }
    
    func VerifyOtelEchoTraces(t framework.TestContext, namespace, clName string, traces []zipkin.Trace) bool {
    	t.Helper()
    	wtr := WantOtelTraceRoot(namespace, clName)
    	for _, trace := range traces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top