Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ChildSpans (0.15 sec)

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

    		t.Logf("got span %+v, want span %+v", got, want)
    		return false
    	}
    	if len(got.ChildSpans) < len(want.ChildSpans) {
    		t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported",
    			len(got.ChildSpans), len(want.ChildSpans))
    		return false
    	} else if len(got.ChildSpans) > len(want.ChildSpans) {
    		t.Logf("got %d child spans from, want %d child spans, maybe destination rule has not became effective",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/zipkin/kube.go

    			for c := range spans {
    				if spans[c].ParentSpanID == spans[p].SpanID {
    					spans[p].ChildSpans = append(spans[p].ChildSpans, &spans[c])
    				}
    			}
    			// make order of child spans deterministic
    			sort.Slice(spans[p].ChildSpans, func(i, j int) bool {
    				return spans[p].ChildSpans[i].Name < spans[p].ChildSpans[j].Name
    			})
    		}
    		ret = append(ret, Trace{Spans: spans})
    	}
    	if len(ret) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. pkg/test/framework/components/zipkin/zipkin.go

    // TODO(bianpengyuan) consider using zipkin proto api https://github.com/istio/istio/issues/13926
    type Span struct {
    	SpanID       string
    	ParentSpanID string
    	ServiceName  string
    	Name         string
    	ChildSpans   []*Span
    }
    
    // Trace represents a trace by a collection of spans which all belong to that trace
    type Trace struct {
    	Spans []Span
    }
    
    // New returns a new instance of zipkin.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 23 01:09:12 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top