- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 119 for loads (0.12 sec)
-
cmd/metrics-v3-types.go
buckets []string } // NewMetricsGroup creates a new MetricsGroup. To create a metrics group for // metrics with a `bucket` dimension (label), use `NewBucketMetricsGroup`. // // The `loader` function loads metrics from the cache and the system. func NewMetricsGroup(path collectorPath, descriptors []MetricDescriptor, loader MetricsLoaderFn, ) *MetricsGroup { mg := &MetricsGroup{ CollectorPath: path,
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) -
cmd/bucket-replication.go
if duration < time.Second { // Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } } // Loads bucket replication resync statuses into memory. func (p *ReplicationPool) loadResync(ctx context.Context, buckets []BucketInfo, objAPI ObjectLayer) error { // Make sure only one node running resync on the cluster.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 112.2K bytes - Viewed (1) -
cmd/bucket-metadata.go
func (b *BucketMetadata) SetCreatedAt(createdAt time.Time) { if b.Created.IsZero() { b.Created = UTCNow() } if !createdAt.IsZero() { b.Created = createdAt.UTC() } } // Load - loads the metadata of bucket by name from ObjectLayer api. // If an error is returned the returned metadata will be default initialized. func readBucketMetadata(ctx context.Context, api ObjectLayer, name string) (BucketMetadata, error) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 16.5K bytes - Viewed (0) -
cmd/metrics-resource.go
cpuNice: "CPU nice time", cpuLoad1: "CPU load average 1min", cpuLoad5: "CPU load average 5min", cpuLoad15: "CPU load average 15min", cpuLoad1Perc: "CPU load average 1min (perentage)", cpuLoad5Perc: "CPU load average 5min (percentage)", cpuLoad15Perc: "CPU load average 15min (percentage)", } resourceMetricsGroups = []*MetricsGroupV2{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 17.4K bytes - Viewed (0) -
cmd/event-notification.go
if onlyActive { if _, err := target.IsActive(); err != nil { continue } } arns = append(arns, targetID.ToARN(region).String()) } } return arns } // Loads notification policies for all buckets into EventNotifier. func (evnot *EventNotifier) set(bucket BucketInfo, meta BucketMetadata) { config := meta.notificationConfig if config == nil { return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 43.4K bytes - Viewed (2) -
cmd/metrics-v3-system-cpu.go
sysCPULoad = "load" sysCPULoadPerc = "load_perc" sysCPUNice = "nice" sysCPUSteal = "steal" sysCPUSystem = "system" sysCPUUser = "user" ) var ( sysCPUAvgIdleMD = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time") sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time") sysCPULoadMD = NewGaugeMD(sysCPULoad, "CPU load average 1min")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 3K bytes - Viewed (0) -
cmd/storage-rest-client.go
if values == nil { values = make(url.Values) } values.Set(storageRESTDiskID, *client.diskID.Load()) respBody, err := client.restClient.Call(ctx, method, values, body, length) if err != nil { return nil, toStorageErr(err) } return respBody, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 26.1K bytes - Viewed (0) -
internal/logger/target/testlogger/testlogger.go
func (t *testLogger) IsOnline(ctx context.Context) bool { return t.current.Load() != nil } func (t *testLogger) Cancel() { t.current.Store(nil) } func (t *testLogger) Send(ctx context.Context, entry interface{}) error { tb := t.current.Load() var logf func(format string, args ...any) if tb != nil { tbb := *tb tbb.Helper() switch t.action.Load() { case errorMessage: logf = tbb.Errorf
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 4K bytes - Viewed (0) -
internal/event/targetlist.go
t := Stats{} if list == nil { return t } t.CurrentSendCalls = list.currentSendCalls.Load() t.EventsSkipped = list.eventsSkipped.Load() t.TotalEvents = list.totalEvents.Load() t.CurrentQueuedCalls = int64(len(list.queue)) t.EventsErrorsTotal = list.eventsErrorsTotal.Load() list.RLock() defer list.RUnlock() t.TargetStats = make(map[TargetID]TargetStat, len(list.targets))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.2K bytes - Viewed (0)