Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for hectogram (0.36 sec)

  1. cmd/object-api-datatypes.go

    	{"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64},
    }
    
    // ObjectsHistogramIntervals is the list of all intervals
    // of object sizes to be included in objects histogram.
    // Note: this histogram expands 1024B-1MB to incl. 1024B-64KB, 64KB-256KB, 256KB-512KB and 512KB-1MiB
    var ObjectsHistogramIntervals = [dataUsageBucketLen]objectHistogramInterval{
    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. cmd/tier.go

    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    		failure int64
    	}
    	histogram *prometheus.HistogramVec
    }
    
    var globalTierMetrics = tierMetrics{
    	requestsCount: make(map[string]struct {
    		success int64
    		failure int64
    	}),
    	histogram: prometheus.NewHistogramVec(prometheus.HistogramOpts{
    		Name:    "tier_ttlb_seconds",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/metrics-v2_gen.go

    				return
    			}
    		case "Histogram":
    			var zb0004 uint32
    			zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Histogram")
    				return
    			}
    			if z.Histogram == nil {
    				z.Histogram = make(map[string]uint64, zb0004)
    			} else if len(z.Histogram) > 0 {
    				for key := range z.Histogram {
    					delete(z.Histogram, key)
    				}
    			}
    			for zb0004 > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    				t.Error("got objects", e.Objects, "want", w.objs)
    			}
    			if e.Versions != uint64(w.objs) {
    				t.Error("got versions", e.Versions, "want", w.objs)
    			}
    			if e.ObjSizes != w.oSizes {
    				t.Error("got histogram", e.ObjSizes, "want", w.oSizes)
    			}
    		})
    	}
    
    	files = []usageTestFile{
    		{
    			name: "newfolder/afile",
    			size: 4,
    		},
    		{
    			name: "newfolder/anotherone",
    			size: 1,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. cmd/metrics.go

    			bucket,
    		)
    
    		for k, v := range usageInfo.ObjectSizesHistogram {
    			ch <- prometheus.MustNewConstMetric(
    				prometheus.NewDesc(
    					prometheus.BuildFQName(bucketNamespace, "objects", "histogram"),
    					"Total number of objects of different sizes in a bucket",
    					[]string{"bucket", "object_size"}, nil),
    				prometheus.GaugeValue,
    				float64(v),
    				bucket,
    				k,
    			)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. cmd/bucket-replication-metrics.go

    	}
    }
    
    // InQueueStats holds queue stats for replication
    type InQueueStats struct {
    	nowBytes   int64 `json:"-"`
    	nowCount   int64 `json:"-"`
    	histCounts metrics.Histogram
    	histBytes  metrics.Histogram
    }
    
    func newInQueueStats(r metrics.Registry, lbl string) InQueueStats {
    	histCounts := metrics.NewHistogram(metrics.NewUniformSample(100))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    // dataUsageHash is the hash type used.
    type dataUsageHash string
    
    // sizeHistogramV1 is size histogram V1, which has fewer intervals esp. between
    // 1024B and 1MiB.
    type sizeHistogramV1 [dataUsageBucketLenV1]uint64
    
    // sizeHistogram is a size histogram.
    type sizeHistogram [dataUsageBucketLen]uint64
    
    // versionsHistogram is a histogram of number of versions in an object.
    type versionsHistogram [dataUsageVersionLen]uint64
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. cmd/http-stats.go

    }
    
    func (bh *bucketHTTPStats) updateHTTPStats(bucket, api string, w *xhttp.ResponseRecorder) {
    	if bh == nil {
    		return
    	}
    
    	if w != nil {
    		// Increment the prometheus http request response histogram with API, Bucket
    		bucketHTTPRequestsDuration.With(prometheus.Labels{
    			"api":    api,
    			"bucket": bucket,
    		}).Observe(w.TimeToFirstByte.Seconds())
    	}
    
    	bh.Lock()
    	defer bh.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/metrics-v3-types.go

    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    )
    
    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top