Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 458 for spanOf (0.12 sec)

  1. pkg/test/framework/components/zipkin/kube.go

    			scopes.Framework.Debugf("cannot parse or cannot find spans in trace object %+v", t)
    			continue
    		}
    		var spans []Span
    		for _, obj := range spanObjs {
    			newSpan := buildSpan(obj)
    			spans = append(spans, newSpan)
    		}
    		for p := range spans {
    			for c := range spans {
    				if spans[c].ParentSpanID == spans[p].SpanID {
    					spans[p].ChildSpans = append(spans[p].ChildSpans, &spans[c])
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

        public void setText(String text) {
            this.spans = Collections.singletonList(new StyledTextOutputEvent.Span(text));
        }
    
        @Override
        public void setText(StyledTextOutputEvent.Span span) {
            this.spans = Collections.singletonList(span);
        }
    
        @Override
        public void setText(List<StyledTextOutputEvent.Span> spans) {
            this.spans = spans;
        }
    
        public Cursor getWritePosition() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/TestStyledLabel.groovy

        }
    
        @Override
        void setText(StyledTextOutputEvent.Span span) {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void setText(List<StyledTextOutputEvent.Span> spans) {
            String text = ""
            for (StyledTextOutputEvent.Span span : spans) {
                stringToStyleMap.put(span.text, span.style)
                text += span.text
            }
            setText(text)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializerTest.groovy

                new ListSerializer<StyledTextOutputEvent.Span>(
                    new SpanSerializer(serializerFactory.getSerializerFor(StyledTextOutput.Style.class))))
        }
    
        def "can serialize StyledTextOutputEvent messages"() {
            given:
            List spans = [new StyledTextOutputEvent.Span(StyledTextOutput.Style.Description, "description"),
                          new StyledTextOutputEvent.Span(StyledTextOutput.Style.Error, "error")]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. samples/bookinfo/src/productpage/productpage.py

    # A note on distributed tracing:
    #
    # Although Istio proxies are able to automatically send spans, they need some
    # hints to tie together the entire trace. Applications need to propagate the
    # appropriate HTTP headers so that when the proxies send span information, the
    # spans can be correlated correctly into a single trace.
    #
    # To do this, an application needs to collect and propagate headers from the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializer.java

            OperationIdentifier buildOperationId = decoder.readBoolean() ? new OperationIdentifier(decoder.readSmallLong()) : null;
            List<StyledTextOutputEvent.Span> spans = spanSerializer.read(decoder);
            return new StyledTextOutputEvent(timestamp, category, logLevel, buildOperationId, spans);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/StyledLabel.java

    import java.util.List;
    
    /**
     * A label where its text can be styled.
     */
    public interface StyledLabel extends Label {
        void setText(List<StyledTextOutputEvent.Span> spans);
        void setText(StyledTextOutputEvent.Span span);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 958 bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/ProgressLogEventGenerator.java

            }
    
            private StyledTextOutputEvent styledTextEvent(long timestamp, StyledTextOutputEvent.Span... spans) {
                return new StyledTextOutputEvent(timestamp, category, LogLevel.LIFECYCLE, buildOperationIdentifier, Arrays.asList(spans));
            }
    
            private void doOutput(RenderableOutputEvent event) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/runtime/traceallocfree.go

    		throw("traceSnapshotMemory: tracing is not enabled")
    	}
    
    	// Write out all the heap spans and heap objects.
    	for _, s := range mheap_.allspans {
    		if s.state.get() == mSpanDead {
    			continue
    		}
    		// It's some kind of span, so trace that it exists.
    		trace.SpanExists(s)
    
    		// Write out allocated objects if it's a heap span.
    		if s.state.get() != mSpanInUse {
    			continue
    		}
    
    		// Find all allocated objects.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top