Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LastOnline (0.07 sec)

  1. cmd/site-replication.go

    				v2.Failed.ErrCounts = make(map[string]int)
    			}
    
    			// use target endpoint metrics from node which has been up the longest
    			if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
    				v2.Endpoint = v.Endpoint
    				v2.LastOnline = v.LastOnline
    				v2.Latency = v.Latency
    				v2.Online = v.Online
    				v2.TotalDowntime = v.TotalDowntime
    				v2.DeploymentID = v.DeploymentID
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			currDowntime := time.Duration(0)
    			if !health.Online && !health.lastOnline.IsZero() {
    				currDowntime = UTCNow().Sub(health.lastOnline)
    			}
    			offlineDuration.Value = float64(currDowntime / time.Second)
    			ml = append(ml, offlineDuration)
    
    			downtimeDuration := MetricV2{
    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