Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for totalDowntime (0.18 sec)

  1. cmd/site-replication-metrics.go

    }
    
    // SRMetric captures replication metrics for a deployment
    type SRMetric struct {
    	DeploymentID  string             `json:"deploymentID"`
    	Endpoint      string             `json:"endpoint"`
    	TotalDowntime time.Duration      `json:"totalDowntime"`
    	LastOnline    time.Time          `json:"lastOnline"`
    	Online        bool               `json:"isOnline"`
    	Latency       madmin.LatencyStat `json:"latency"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics_gen.go

    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "TotalDowntime":
    			z.TotalDowntime, err = dc.ReadDuration()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalDowntime")
    				return
    			}
    		case "LastOnline":
    			z.LastOnline, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastOnline")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    	if bucket != "" {
    		if ts, err := sys.ListBucketTargets(ctx, bucket); err == nil {
    			for _, t := range ts.Targets {
    				if string(t.Type) == arnType || arnType == "" {
    					if hs, ok := h[t.URL().Host]; ok {
    						t.TotalDowntime = hs.offlineDuration
    						t.Online = hs.Online
    						t.LastOnline = hs.lastOnline
    						t.Latency = madmin.LatencyStat{
    							Curr: hs.latency.curr,
    							Avg:  hs.latency.avg,
    							Max:  hs.latency.peak,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			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
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top