Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for offlineDuration (0.2 sec)

  1. cmd/bucket-targets.go

    						if prev.Online != result.Online || !result.Online {
    							if !prev.lastHCAt.IsZero() {
    								offline = time.Since(prev.lastHCAt) + prev.offlineDuration
    							} else {
    								offline = prev.offlineDuration
    							}
    						} else if result.Online {
    							offline = prev.offlineDuration
    						}
    					}
    					lastOnline = prev.lastOnline
    					if result.Online {
    						lastOnline = time.Now()
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    			downtimeDuration := MetricV2{
    				Description: getClusterRepLinkTotalOfflineDurationMD(),
    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			dwntime := currDowntime
    			if health.offlineDuration > currDowntime {
    				dwntime = health.offlineDuration
    			}
    			downtimeDuration.Value = float64(dwntime / time.Second)
    			ml = append(ml, downtimeDuration)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top