- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Detrio (0.16 sec)
-
docs/metrics/prometheus/README.md
The command will generate the `scrape_configs` section of the prometheus.yml as follows: ##### Cluster
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 12 15:49:30 GMT 2024 - 7.1K bytes - Viewed (0) -
cmd/os-instrumented.go
startTime := time.Now() return func() { duration := time.Since(startTime) atomic.AddUint64(&o.operations[s], 1) o.latency[s].add(duration) } } // incTime will increment time on metric s with a specific duration. func (o *osMetrics) incTime(s osMetric, d time.Duration) { atomic.AddUint64(&o.operations[s], 1) o.latency[s].add(d) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 15 01:09:38 GMT 2024 - 6.3K bytes - Viewed (0) -
cmd/site-replication-metrics.go
t = &m } mx[Total] = *t metric := SRMetric{ ReplicatedSize: v.ReplicatedSize, ReplicatedCount: v.ReplicatedCount, DeploymentID: dID, Failed: v.Failed.toMetric(), XferStats: mx, } epHealth, ok := epMap[v.Endpoint] if ok { metric.Endpoint = epHealth.Endpoint metric.TotalDowntime = epHealth.offlineDuration metric.LastOnline = epHealth.lastOnline
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 8.2K bytes - Viewed (0) -
internal/kms/kms.go
// IsLocal returns true if the KMS is a local implementation IsLocal() bool // List returns an array of local KMS Names List() []kes.KeyInfo // Metrics returns a KMS metric snapshot. Metrics(ctx context.Context) (kes.Metric, error) // CreateKey creates a new key at the KMS with the given key ID. CreateKey(ctx context.Context, keyID string) error // GenerateKey generates a new data encryption key using the
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 4.6K bytes - Viewed (0) -
internal/kms/single-key.go
func (kms secretKey) List() []kes.KeyInfo { kmsSecret := []kes.KeyInfo{ { Name: kms.keyID, }, } return kmsSecret } func (secretKey) Metrics(ctx context.Context) (kes.Metric, error) { return kes.Metric{}, Error{ HTTPStatusCode: http.StatusNotImplemented, APICode: "KMS.NotImplemented", Err: errors.New("metrics are not supported"), } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
for _, d := range mg.Descriptors { labels := slices.Clone(d.VariableLabels) labels = append(labels, commonLabels...) metric := metricDisplay{ Name: mg.MetricFQN(d.Name), Help: d.Help, Type: d.Type.String(), Labels: labels, } metrics = append(metrics, metric) } } } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
cmd/scannermetric_string.go
// Code generated by "stringer -type=scannerMetric -trimprefix=scannerMetric data-scanner-metric.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[scannerMetricReadMetadata-0] _ = x[scannerMetricCheckMissing-1] _ = x[scannerMetricSaveUsage-2]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 25 05:15:31 GMT 2023 - 1.7K bytes - Viewed (0) -
cmd/data-scanner-metric.go
return true }) return i } // lifetime returns the lifetime count of the specified metric. func (p *scannerMetrics) lifetime(m scannerMetric) uint64 { if m >= scannerMetricLast { return 0 } val := atomic.LoadUint64(&p.operations[m]) return val } // lastMinute returns the last minute statistics of a metric. // m should be < scannerMetricLastRealtime
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 25 05:15:31 GMT 2023 - 9.1K bytes - Viewed (0) -
cmd/tier_test.go
globalTierMetrics.logFailure(tier) } metrics := globalTierMetrics.Report() var succ, fail float64 for _, metric := range metrics { switch metric.Description.Name { case tierRequestsSuccess: succ += metric.Value case tierRequestsFailure: fail += metric.Value } } if int(succ) != expSuccess { t.Fatalf("Expected %d successes but got %f", expSuccess, succ) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 21 04:13:40 GMT 2023 - 1.5K bytes - Viewed (0) -
cmd/metrics-v3-api.go
m.Set(apiTrafficSentBytes, float64(connStats.s3OutputBytes), "type", "s3") m.Set(apiTrafficRecvBytes, float64(connStats.s3InputBytes), "type", "s3") return nil } // Metric Descriptions for bucket level S3 metrics. var ( apiBucketTrafficSentBytesMD = NewCounterMD(apiTrafficSentBytes, "Total number of bytes received for a bucket", "bucket", "type")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 9.2K bytes - Viewed (0)