Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/config/identity/plugin/config.go

    	var avg float64
    	if l.successRequestCount > 0 {
    		avg = l.rttMsSum / float64(l.successRequestCount)
    	}
    	now := time.Now().UTC()
    	return Metrics{
    		LastReachableSecs:   now.Sub(o.serviceMetrics.LastCheckSuccess).Seconds(),
    		LastUnreachableSecs: now.Sub(o.serviceMetrics.LastCheckFailure).Seconds(),
    		TotalRequests:       l.failedRequestCount + l.successRequestCount,
    		FailedRequests:      l.failedRequestCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top