Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NumGoroutine (0.34 sec)

  1. cmd/metrics-v3-system-process.go

    	}
    }
    
    // loadProcessMetrics - `MetricsLoaderFn` for process metrics
    func loadProcessMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine()))
    
    	if !globalBootTime.IsZero() {
    		m.Set(processUptimeSeconds, time.Since(globalBootTime).Seconds())
    	}
    
    	p, err := procfs.Self()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/utils.go

    		// unable to maintain its sampling rate and to significantly
    		// degrade the performance of your application
    		// https://github.com/felixge/fgprof#fgprof
    		if n := runtime.NumGoroutine(); n > 10000 && !globalIsCICD {
    			return nil, fmt.Errorf("unable to perform CPU IO profile with %d goroutines", n)
    		}
    		dirPath, err := os.MkdirTemp("", "profile")
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  3. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg runtime, func Gosched()
    pkg runtime, func LockOSThread()
    pkg runtime, func MemProfile([]MemProfileRecord, bool) (int, bool)
    pkg runtime, func NumCPU() int
    pkg runtime, func NumCgoCall() int64
    pkg runtime, func NumGoroutine() int
    pkg runtime, func ReadMemStats(*MemStats)
    pkg runtime, func SetCPUProfileRate(int)
    pkg runtime, func SetFinalizer(interface{}, interface{})
    pkg runtime, func Stack([]uint8, bool) int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top