Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 158 for traceID (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/traces.go

    	semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
    	"go.opentelemetry.io/otel/trace"
    	"k8s.io/apiserver/pkg/endpoints/request"
    
    	tracing "k8s.io/component-base/tracing"
    )
    
    // WithTracing adds tracing to requests if the incoming request is sampled
    func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler {
    	opts := []otelhttp.Option{
    		otelhttp.WithPropagators(tracing.Propagators()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 15 01:42:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/tracestatus.go

    		print("runtime: goid=", goid, "\n")
    		throw("attempted to trace a bad status for a goroutine")
    	}
    
    	// Trace the status.
    	if stackID == 0 {
    		w = w.event(traceEvGoStatus, traceArg(goid), traceArg(uint64(mid)), traceArg(status))
    	} else {
    		w = w.event(traceEvGoStatusStack, traceArg(goid), traceArg(uint64(mid)), traceArg(status), traceArg(stackID))
    	}
    
    	// Trace any special ranges that are in-progress.
    	if markAssist {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	// Perform a traceAcquire/traceRelease on behalf of mp to
    	// synchronize with the tracer trying to flush our buffer
    	// as well.
    	seq := mp.trace.seqlock.Add(1)
    	if debugTraceReentrancy && seq%2 != 1 {
    		throw("bad use of trace.seqlock or tracer is reentrant")
    	}
    	systemstack(func() {
    		lock(&trace.lock)
    		for i := range mp.trace.buf {
    			if mp.trace.buf[i] != nil {
    				// N.B. traceBufFlush accepts a generation, but it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. src/net/http/httptrace/trace.go

    	if trace == nil {
    		panic("nil trace")
    	}
    	old := ContextClientTrace(ctx)
    	trace.compose(old)
    
    	ctx = context.WithValue(ctx, clientEventContextKey{}, trace)
    	if trace.hasNetHooks() {
    		nt := &nettrace.Trace{
    			ConnectStart: trace.ConnectStart,
    			ConnectDone:  trace.ConnectDone,
    		}
    		if trace.DNSStart != nil {
    			nt.DNSStart = func(name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_device_context.cc

                                                  Device* device,
                                                  Tensor* cpu_tensor,
                                                  StatusCallback done) {
      tsl::profiler::TraceMe traceme("PjRtDeviceContext::CopyDeviceTensorToCPU");
      if (device_tensor->NumElements() == 0) {
        VLOG(2) << "CopyDeviceTensorToCPU empty tensor";
        done(absl::OkStatus());
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:49:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/cpu-profile.go

    	func() {
    		// Create a region in the execution trace. Set and clear goroutine
    		// labels fully within that region, so we know that any CPU profile
    		// sample with the label must also be eligible for inclusion in the
    		// execution trace.
    		ctx := context.Background()
    		defer trace.StartRegion(ctx, "cpuHogger").End()
    		pprof.Do(ctx, pprof.Labels("tracing", "on"), func(ctx context.Context) {
    			cpuHogger(cpuHog1, &salt1, dur)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/runtime/traceevent.go

    	w := tl.writer()
    	if pp := tl.mp.p.ptr(); pp != nil && !pp.trace.statusWasTraced(tl.gen) && pp.trace.acquireStatus(tl.gen) {
    		w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep)
    	}
    	if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/configmap.yaml

          {{- end }}
          {{- if not (eq .Values.global.proxy.tracer "none") }}
          tracing:
          {{- if eq .Values.global.proxy.tracer "lightstep" }}
            lightstep:
              # Address of the LightStep Satellite pool
              address: {{ .Values.global.tracer.lightstep.address }}
              # Access Token used to communicate with the Satellite pool
              accessToken: {{ .Values.global.tracer.lightstep.accessToken }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/tracing.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    	envoyDatadog       = "envoy.tracers.datadog"
    	envoyOpenTelemetry = "envoy.tracers.opentelemetry"
    	envoySkywalking    = "envoy.tracers.skywalking"
    	envoyZipkin        = "envoy.tracers.zipkin"
    )
    
    // this is used for testing. it should not be changed in regular code.
    var clusterLookupFn = model.LookupCluster
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top