Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mgGatherers (0.07 sec)

  1. cmd/metrics-v2.go

    	gatherers := prometheus.Gatherers{
    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = funcName
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top