Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 98 for metric (0.23 sec)

  1. cmd/os-instrumented.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/disk"
    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    //go:generate stringer -type=osMetric -trimprefix=osMetric $GOFILE
    
    type osMetric uint8
    
    const (
    	osMetricRemoveAll osMetric = iota
    	osMetricMkdirAll
    	osMetricMkdir
    	osMetricRename
    	osMetricOpenFileW
    	osMetricOpenFileR
    	osMetricOpenFileWFd
    	osMetricOpenFileRFd
    	osMetricOpen
    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)
  2. cmd/metrics-v3.go

    )
    
    // Collector paths.
    //
    // These are paths under the top-level /minio/metrics/v3 metrics endpoint. Each
    // of these paths returns a set of V3 metrics.
    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    // appended to the path. e.g. if the collector path is /bucket/api, the endpoint
    // for the bucket "mybucket" would be /minio/metrics/v3/bucket/api/mybucket
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/tier_test.go

    	}
    	for i := 0; i < expFailure; i++ {
    		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 {
    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)
  4. 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)
  5. istioctl/pkg/metrics/metrics.go

    `,
    		Example: `  # Retrieve workload metrics for productpage-v1 workload
      istioctl experimental metrics productpage-v1
    
      # Retrieve workload metrics for various services with custom duration
      istioctl experimental metrics productpage-v1 -d 2m
    
      # Retrieve workload metrics for various services in the different namespaces
      istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    			valid: true,
    		},
    		{
    			name:  "appProtocol=fake",
    			in:    inValidPortNamingSvcWithAppProtocol,
    			valid: false,
    		},
    		{
    			name:  "metric labels k8s recommended",
    			in:    validK8sRecommendedLabels,
    			valid: true,
    		},
    		{
    			name:  "metric labels istio canonical",
    			in:    validIstioCanonical,
    			valid: true,
    		},
    	}
    
    	for i, c := range cases {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    func (m *batchJobMetrics) report(jobID string) (metrics *madmin.BatchJobMetrics) {
    	metrics = &madmin.BatchJobMetrics{CollectedAt: time.Now(), Jobs: make(map[string]madmin.JobMetric)}
    	m.RLock()
    	defer m.RUnlock()
    
    	if jobID != "" {
    		if job, ok := m.metrics[jobID]; ok {
    			metrics.Jobs[jobID] = job.metric()
    		}
    		return metrics
    	}
    
    	for id, job := range m.metrics {
    		metrics.Jobs[id] = job.metric()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    			{
    				Name: values[0],
    			},
    		}
    	}
    	return kmsSecret
    }
    
    // Metrics retrieves server metrics in the Prometheus exposition format.
    func (c *kesClient) Metrics(ctx context.Context) (kes.Metric, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.Metrics(ctx)
    }
    
    // Version retrieves version information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    	} else {
    		bs.XferRateSml.addSize(sz, duration)
    	}
    }
    
    // RMetricName - name of replication metric
    type RMetricName string
    
    const (
    	// Large - objects larger than 128MiB
    	Large RMetricName = "Large"
    	// Small - objects smaller than 128MiB
    	Small RMetricName = "Small"
    	// Total - metric pertaining to totals
    	Total RMetricName = "Total"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. cmd/metrics-v3-api.go

    )
    
    // loadAPIRequestsHTTPMetrics - reads S3 HTTP metrics.
    //
    // This is a `MetricsLoaderFn`.
    //
    // This includes node level S3 HTTP metrics.
    //
    // This function currently ignores `opts`.
    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    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)
Back to top