Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 104 for trace (0.02 seconds)

  1. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 01 05:17:37 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *   <li>Supports both internal session operations and client-provided trace information</li>
     * </ul>
     *
     * <p>For internal session operations, the trace typically contains {@code *Request} objects
     * that represent the current processing state. Client code can also create traces with
     * application-specific data to provide context when invoking session methods.</p>
     *
     * <p>This trace information is particularly useful for:</p>
     * <ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. internal/logger/target/console/console.go

    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    	// Add a sequence number and formatting for each stack trace
    	// No formatting is required for the first entry
    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

            RequestTrace trace;
            Source installationToolchainsSource;
            Source userToolchainsSource;
    
            public ToolchainsBuilderRequestBuilder session(ProtoSession session) {
                this.session = session;
                return this;
            }
    
            public ToolchainsBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                this.session = session;
                return this;
            }
    
            public SettingsBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public SettingsBuilderRequestBuilder installationSettingsSource(Source installationSettingsSource) {
                this.installationSettingsSource = installationSettingsSource;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. 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)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Oct 18 09:28:06 GMT 2022
    - 830 bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

            public ArtifactFactoryRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder groupId(String groupId) {
                this.groupId = groupId;
                return this;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
         * hierarchy and can carry additional diagnostic information.
         *
         * @return the request trace, or {@code null} if no trace information is available
         */
        @Nullable
        RequestTrace getTrace();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. cmd/http-tracer.go

    	op = strings.Replace(op, "ReadinessCheckHandler", "health.Readiness", 1)
    	op = strings.Replace(op, "-fm", "", 1)
    	return op
    }
    
    // If trace is enabled, execute the request if it is traced by other handlers
    // otherwise, generate a trace event with request information but no response.
    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            assertEquals("bootstrap", RequestTrace.CONTEXT_BOOTSTRAP);
        }
    
        @Test
        void testNullValues() {
            RequestTrace trace = new RequestTrace(null, null, null);
            assertNull(trace.context());
            assertNull(trace.parent());
            assertNull(trace.data());
        }
    
        @Test
        void testChainedTraces() {
            RequestTrace root = new RequestTrace("root", null, "root-data");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top