Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 346 for traces (0.15 sec)

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

    									// the OTel collector exports to Zipkin
    									traces, err := tracing.GetZipkinInstance().QueryTraces(300, "", tc.customAttribute)
    									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")
    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. src/internal/trace/oldtrace_test.go

    					// strings were generated by
    					// runtime/trace.TestUserTaskRegion, which is the basis for
    					// the user_task_region_* test cases. We only check for the
    					// Go 1.21 traces because earlier traces used different
    					// strings.
    					switch ev.Kind() {
    					case trace.EventRegionBegin, trace.EventRegionEnd:
    						if _, ok := validRegions[ev.Region().Type]; !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tests/integration/telemetry/tracing/zipkin/server_tracing_test.go

    						}
    						traces, err := tracing.GetZipkinInstance().QueryTraces(300,
    							fmt.Sprintf("server.%s.svc.cluster.local:80/*", appNsInst.Name()), "")
    						if err != nil {
    							return fmt.Errorf("cannot get traces from zipkin: %v", err)
    						}
    						if !tracing.VerifyEchoTraces(t, appNsInst.Name(), cluster.Name(), traces) {
    							return errors.New("cannot find expected traces")
    						}
    						return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/README.md

    trace, but with the `.go` extension removed.
    
    ## Trace test programs
    
    The trace test programs in the `testprog` directory generate traces to
    stdout.
    Otherwise they're just normal programs.
    
    ## Trace debug commands
    
    The `cmd` directory contains helpful tools for debugging traces.
    
    * `gotraceraw` parses traces without validation.
      It can produce a text version of the trace wire format, or convert
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. tests/integration/telemetry/tracing/zipkin/client_tracing_test.go

    						if err != nil {
    							return fmt.Errorf("cannot get traces from zipkin: %v", err)
    						}
    						if !tracing.VerifyEchoTraces(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 Apr 08 22:02:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    	Admission                  *AdmissionOptions
    	// API Server Egress Selector is used to control outbound traffic from the API Server
    	EgressSelector *EgressSelectorOptions
    	// Traces contains options to control distributed request tracing.
    	Traces *TracingOptions
    }
    
    func NewRecommendedOptions(prefix string, codec runtime.Codec) *RecommendedOptions {
    	sso := NewSecureServingOptions()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/internal/trace/version/version.go

    const headerFmt = "go 1.%d trace\x00\x00\x00"
    
    // ReadHeader reads the version of the trace out of the trace file's
    // header, whose prefix must be present in v.
    func ReadHeader(r io.Reader) (Version, error) {
    	var v Version
    	_, err := fmt.Fscanf(r, headerFmt, &v)
    	if err != nil {
    		return v, fmt.Errorf("bad file format: not a Go execution trace?")
    	}
    	if !v.Valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/internal/trace/raw/doc.go

    It can interpret and emit execution traces in its wire format as well as a
    bespoke but simple text format.
    
    The readers and writers in this package perform no validation on or ordering of
    the input, and so are generally unsuitable for analysis. However, they're very
    useful for testing and debugging the tracer in the runtime and more sophisticated
    trace parsers.
    
    # Text format specification
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/trace/main.go

    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"internal/trace"
    	"internal/trace/raw"
    	"internal/trace/traceviewer"
    	"io"
    	"log"
    	"net"
    	"net/http"
    	_ "net/http/pprof" // Required to use pprof
    	"os"
    	"sync/atomic"
    	"time"
    )
    
    const usageMessage = "" +
    	`Usage of 'go tool trace':
    Given a trace file produced by 'go test':
    	go test -trace=trace.out pkg
    
    Open a web browser displaying trace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/internal/trace/internal/testgen/go122/trace.go

    	"os"
    	"regexp"
    	"strings"
    
    	"internal/trace"
    	"internal/trace/event"
    	"internal/trace/event/go122"
    	"internal/trace/raw"
    	"internal/trace/version"
    	"internal/txtar"
    )
    
    func Main(f func(*Trace)) {
    	// Create an output file.
    	out, err := os.Create(os.Args[1])
    	if err != nil {
    		panic(err.Error())
    	}
    	defer out.Close()
    
    	// Create a new trace.
    	trace := NewTrace()
    
    	// Call the generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top