Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for hectogram (0.18 sec)

  1. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  2. istioctl/pkg/metrics/metrics_test.go

    			"histogram_quantile(0.500000, sum(rate(istio_request_duration_milliseconds_bucket{destination_workload=~\"details.*\", destination_workload_namespace=~\".*\",reporter=\"destination\"}[1m0s])) by (le))": prometheus_model.Vector{ // nolint: lll
    				&prometheus_model.Sample{Value: 2.5},
    			},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		VariableLabels:       make(map[string]string, len(m.VariableLabels)),
    		Histogram:            make(map[string]uint64, len(m.Histogram)),
    	}
    	for k, v := range m.StaticLabels {
    		metric.StaticLabels[k] = v
    	}
    	for k, v := range m.VariableLabels {
    		metric.VariableLabels[k] = v
    	}
    	for k, v := range m.Histogram {
    		metric.Histogram[k] = v
    	}
    	return metric
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 132.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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  7. cmd/data-usage-utils.go

    	ReplicatedCount         uint64 `json:"objectsReplicatedCount"`
    }
    
    // BucketUsageInfo - bucket usage info provides
    // - total size of the bucket
    // - total objects in a bucket
    // - object size histogram per bucket
    type BucketUsageInfo struct {
    	Size uint64 `json:"size"`
    	// Following five fields suffixed with V1 are here for backward compatibility
    	// Total Size for objects that have not yet been replicated
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top