Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NumGoroutine (0.16 sec)

  1. cmd/metrics-v2.go

    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		metrics = append(metrics, MetricV2{
    			Description: getMinIOGORoutineCountMD(),
    			Value:       float64(runtime.NumGoroutine()),
    		})
    		return
    	})
    	return mg
    }
    
    // getHistogramMetrics fetches histogram metrics and returns it in a []Metric
    // Note: Typically used in MetricGroup.RegisterRead
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top