- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for histogram (0.42 seconds)
-
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 { clear(z.Histogram) } for zb0004 > 0 { var za0006 uint64
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
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},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
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, },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
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",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 6.4K bytes - Click Count (0) -
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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/metrics-v3-types.go
// GaugeMT - represents a gauge metric. GaugeMT // HistogramMT - represents a histogram metric. HistogramMT ) // rangeL - represents a range label. const rangeL = "range" func (mt MetricType) String() string { switch mt { case CounterMT: return "counter" case GaugeMT: return "gauge" case HistogramMT: return "histogram" default: return "*unknown*" } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/metrics-v2.go
VariableLabels: make(map[string]string, len(m.VariableLabels)), Histogram: make(map[string]uint64, len(m.Histogram)), } maps.Copy(metric.StaticLabels, m.StaticLabels) maps.Copy(metric.VariableLabels, m.VariableLabels) maps.Copy(metric.Histogram, m.Histogram) return metric } // Get - returns cached value always upton the configured TTL,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0) -
cmd/metrics-v2_test.go
// additional labels for +Inf for all histogram metrics if expPoints := len(labels) * (len(histBuckets) + 1); expPoints != len(metrics) { t.Fatalf("Expected %v data points when toLowerAPILabels=false but got %v", expPoints, len(metrics)) } metrics = getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), true, false) // additional labels for +Inf for all histogram metrics
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.8K bytes - Click Count (0) -
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))Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 14.2K bytes - Click Count (0)