Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for metric (0.18 sec)

  1. cmd/metrics-resource.go

    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    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)
  2. cmd/metrics-v2.go

    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(_ context.Context) (metrics []MetricV2) {
    		metrics = make([]MetricV2, 0, 16)
    		nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount()
    		metrics = append(metrics, MetricV2{
    			Description: getNodeOnlineTotalMD(),
    			Value:       float64(nodesUp),
    		})
    		metrics = append(metrics, MetricV2{
    			Description: getNodeOfflineTotalMD(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-types.go

    }
    
    // MetricsGroup - represents a group of metrics. It includes a `MetricsLoaderFn`
    // function that provides a way to load the metrics from the system. The metrics
    // are cached and refreshed after a given timeout.
    //
    // For metrics with a `bucket` dimension, a list of buckets argument is required
    // to collect the metrics.
    //
    // It implements the prometheus.Collector interface for metric groups without a
    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)
  4. 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)
  5. 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)
  6. docs/metrics/prometheus/list.md

    # Bucket Metrics
    
    MinIO collects the following metrics at the bucket level.
    Each metric includes the ``bucket`` label to identify the corresponding bucket.
    Metrics may include one or more additional labels, such as the server that calculated that metric.
    
    These metrics can be obtained from any MinIO server once per collection by using the following URL:
    
    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)
  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. common/config/.golangci.yml

              - "!**/pkg/tracing/**"
            deny:
              - pkg: go.opentelemetry.io/otel
                desc: "do not use OpenTelemetry directly; use pkg/monitoring"
              - pkg: go.opentelemetry.io/otel/metric
                desc: "do not use OpenTelemetry directly; use pkg/monitoring"
          DenyProtobufV1:
            files:
              - $all
            deny:
              - pkg: github.com/golang/protobuf/ptypes
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. docs/metrics/v3.md

    # Metrics Version 3
    
    In metrics version 3, all metrics are available under the endpoint:
    
    ```
    /minio/metrics/v3
    ```
    
    however, a specific path under this is required.
    
    Metrics are organized into groups at paths **relative** to the top-level endpoint above.
    
    ## Metrics Request Handling
    
    Each endpoint below can be queried at different intervals as needed via a scrape configuration in Prometheus or a compatible metrics collection tool.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                                    minLength: 1
                                    type: string
                                  metric:
                                    description: |-
                                      One of the well-known [Istio Standard Metrics](https://istio.io/latest/docs/reference/config/metrics/).
    
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
Back to top