- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 212 for traceCh (0.06 sec)
-
cmd/peer-rest-client.go
time.Sleep(5 * time.Second) } } }() } // Trace - send http trace request to peer nodes func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) { go func() { for { // Blocks until context is canceled or an error occurs. client.doTrace(ctx, traceCh, traceOpts) select { case <-ctx.Done(): return default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/admin-handlers.go
if peer == nil { continue } peer.Trace(ctx, traceCh, traceOpts) } keepAliveTicker := time.NewTicker(time.Second) defer keepAliveTicker.Stop() for { select { case entry := <-traceCh: if _, err := w.Write(entry); err != nil { return } grid.PutByteBuffer(entry) if len(traceCh) == 0 { // Flush if nothing is queued
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
internal/grid/trace.go
v := ctx.Value(TraceParamsKey{}) // Should match SingleHandler.Call checks. switch typed := v.(type) { case *MSS: trace.Path += typed.ToQuery() case map[string]string: m := MSS(typed) trace.Path += m.ToQuery() case *URLValues: trace.Path += typed.Values().Encode() case *NoPayload, *Bytes: trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/http-tracer.go
h.ServeHTTP(respRecorder, r) reqEndTime := time.Now().UTC() if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 { // no subscribers nothing to trace. return } tt := madmin.TraceInternal if strings.HasPrefix(tc.FuncName, "s3.") { tt = madmin.TraceS3 } // Calculate input body size with headers reqHeaders := r.Header.Clone() reqHeaders.Set("Host", r.Host)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
common/scripts/tracing.sh
# If running in a prow job, this sets the parent trace to the same value Prow tracing will use, as defined in https://github.com/kubernetes/test-infra/issues/30010 function tracing::extract_prow_trace() { if [[ "${PROW_JOB_ID:-}" != "" ]]; then local trace trace="$(<<< "$PROW_JOB_ID" tr -d '\-')" local span span="${trace:0:16}" export TRACEPARENT="01-${trace}-${span}-00" fi } function _genattrs() {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 28 15:25:47 UTC 2023 - 4.1K bytes - Viewed (0) -
tests/tracer_test.go
func (S Tracer) Warn(ctx context.Context, s string, i ...interface{}) { S.Logger.Warn(ctx, s, i...) } func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) { S.Logger.Error(ctx, s, i...) } func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { S.Logger.Trace(ctx, begin, fc, err) S.Test(ctx, begin, fc, err)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 18 09:28:06 UTC 2022 - 830 bytes - Viewed (0) -
internal/logger/logger.go
if !strings.HasPrefix(file, "<autogenerated>") && !strings.HasPrefix(funcName, "runtime.") { // Form and append a line of stack trace into a // collection, 'trace', to build full stack trace trace = append(trace, fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName)) // Ignore trace logs beyond the following conditions for _, name := range matchingFuncNames {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
transitionLogIf(es.ctx, err) traceFn(ILMFreeVersionDelete, nil, err) continue } // Remove this free version _, err = es.objAPI.DeleteObject(es.ctx, oi.Bucket, oi.Name, ObjectOptions{ VersionID: oi.VersionID, InclFreeVersions: true, }) if err == nil { auditLogLifecycle(es.ctx, oi, ILMFreeVersionDelete, nil, traceFn) } if ignoreNotFoundErr(err) != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 23 15:35:37 UTC 2024 - 33.7K bytes - Viewed (0) -
cmd/object-handlers-common.go
VersionID: dobj.VersionID, } traceFn := globalLifecycleSys.trace(oi) // Note: NewerNoncurrentVersions action is performed only scanner today tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags() // Send audit for the lifecycle delete operation auditLogLifecycle( ctx, oi, ILMExpiry, tags, traceFn) evArgs := eventArgs{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
return Lists.<LockGraphNode>newArrayListWithCapacity(3); } }; /** * A Throwable used to record a stack trace that illustrates an example of a specific lock * acquisition ordering. The top of the stack trace is truncated such that it starts with the * acquisition of the lock in question, e.g. * * <pre> * com...ExampleStackTrace: LockB -> LockC
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0)