Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handlerPrefixes (0.12 sec)

  1. internal/grid/trace.go

    	if err != nil {
    		errString = err.Error()
    		if IsRemoteErr(err) == nil {
    			status = http.StatusInternalServerError
    		} else {
    			status = http.StatusBadRequest
    		}
    	}
    
    	prefix := t.Prefix
    	if p := handlerPrefixes[h]; p != "" {
    		prefix = p
    	}
    	trace := madmin.TraceInfo{
    		TraceType: t.TraceType,
    		FuncName:  prefix + "." + h.String(),
    		NodeName:  remote,
    		Time:      start,
    		Duration:  end.Sub(start),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    	// Handlers have no versioning, so non-compatible handler changes must result in new IDs.
    	handlerTest
    	handlerTest2
    	handlerLast
    )
    
    // handlerPrefixes are prefixes for handler IDs used for tracing.
    // If a handler is not listed here, it will be traced with "grid" prefix.
    var handlerPrefixes = [handlerLast]string{
    	HandlerLockLock:                    lockPrefix,
    	HandlerLockRLock:                   lockPrefix,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top