Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stats (0.9 sec)

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

    type Metrics struct {
    	LastReachableSecs, LastUnreachableSecs float64
    
    	// Last whole minute stats
    	TotalRequests, FailedRequests int64
    	AvgSuccRTTMs                  float64
    	MaxSuccRTTMs                  float64
    }
    
    // Metrics reports metrics related to plugin service reachability and stats for the last whole minute
    func (o *AuthNPlugin) Metrics() Metrics {
    	if o == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  2. internal/config/config.go

    			continue
    		}
    		return false, Errorf("key '%s', cannot have empty value", kv[0])
    	}
    
    	_, ok := kvs.Lookup(Enable)
    	// Check if state is required
    	_, enableRequired := defaultKVS[subSys].Lookup(Enable)
    	if !ok && enableRequired {
    		// implicit state "on" if not specified.
    		kvs.Set(Enable, EnableOn)
    	}
    
    	var currKVS KVS
    	ck, ok := c[subSys][tgt]
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top