Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for errCounts (0.28 sec)

  1. cmd/site-replication-metrics.go

    	n.LastHour = n.LastHour.merge(o.LastHour)
    	n.ErrCounts = make(map[string]int)
    	for k, v := range rt.ErrCounts {
    		n.ErrCounts[k] = v
    	}
    	for k, v := range o.ErrCounts {
    		n.ErrCounts[k] += v
    	}
    	return n
    }
    
    // SRStats has replication stats at site level
    type SRStats struct {
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Total Replica received
    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

    				return
    			}
    		case "ErrCounts":
    			var zb0003 uint32
    			zb0003, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ErrCounts")
    				return
    			}
    			if z.ErrCounts == nil {
    				z.ErrCounts = make(map[string]int, zb0003)
    			} else if len(z.ErrCounts) > 0 {
    				for key := range z.ErrCounts {
    					delete(z.ErrCounts, key)
    				}
    			}
    			for zb0003 > 0 {
    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-stats.go

    			Failed:                           st.Failed,
    			FailStats:                        st.FailStats,
    		}
    		if s.Failed.ErrCounts == nil {
    			s.Failed.ErrCounts = make(map[string]int)
    			for k, v := range st.Failed.ErrCounts {
    				s.Failed.ErrCounts[k] = v
    			}
    		}
    		c.Stats[arn] = &s
    	}
    	return c
    }
    
    // BucketReplicationStat represents inline replication statistics
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    					Value:          float64(stat.ReplicatedCount),
    					VariableLabels: map[string]string{"endpoint": stat.Endpoint},
    				})
    
    				if c, ok := stat.Failed.ErrCounts["AccessDenied"]; ok {
    					ml = append(ml, MetricV2{
    						Description:    getClusterRepCredentialErrorsMD(clusterMetricNamespace),
    						Value:          float64(c),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    				v2.DeploymentID = v.DeploymentID
    			}
    			v2.ReplicatedCount += v.ReplicatedCount
    			v2.ReplicatedSize += v.ReplicatedSize
    			v2.Failed = v2.Failed.Add(v.Failed)
    			for k, v := range v.Failed.ErrCounts {
    				v2.Failed.ErrCounts[k] += v
    			}
    			if v2.XferStats == nil {
    				v2.XferStats = make(map[replication.MetricName]replication.XferStats)
    			}
    			for rm, x := range v.XferStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    		// Get heal status from other peers
    		peersHealStates, nerrs := globalNotificationSys.BackgroundHealStatus(ctx)
    		var errCount int
    		for _, nerr := range nerrs {
    			if nerr.Err != nil {
    				adminLogIf(ctx, nerr.Err)
    				errCount++
    			}
    		}
    		if errCount == len(nerrs) {
    			return madmin.BgHealState{}, fmt.Errorf("all remote servers failed to report heal status, cluster is unhealthy")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top