Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,328 for Metric2 (0.28 sec)

  1. src/runtime/metrics/example_test.go

    package metrics_test
    
    import (
    	"fmt"
    	"runtime/metrics"
    )
    
    func ExampleRead_readingOneMetric() {
    	// Name of the metric we want to read.
    	const myMetric = "/memory/classes/heap/free:bytes"
    
    	// Create a sample for the metric.
    	sample := make([]metrics.Sample, 1)
    	sample[0].Name = myMetric
    
    	// Sample the metric.
    	metrics.Read(sample)
    
    	// Check if the metric is actually supported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 08 16:09:01 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    	if disk.Metrics == nil {
    		return
    	}
    
    	m.Set(driveTimeoutErrorsTotal, float64(disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveIOErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability-disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. pkg/scheduler/metrics/metric_recorder.go

    }
    
    // MetricAsyncRecorder records metric in a separate goroutine to avoid overhead in the critical path.
    type MetricAsyncRecorder struct {
    	// bufferCh is a channel that serves as a metrics buffer before the metricsRecorder goroutine reports it.
    	bufferCh chan *metric
    	// if bufferSize is reached, incoming metrics will be discarded.
    	bufferSize int
    	// how often the recorder runs to flush the metrics.
    	interval time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 07:27:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/metrics/collectors/resource_metrics.go

    	if s.Memory == nil || s.Memory.WorkingSetBytes == nil {
    		return
    	}
    
    	ch <- metrics.NewLazyMetricWithTimestamp(s.Memory.Time.Time,
    		metrics.NewLazyConstMetric(nodeMemoryUsageDesc, metrics.GaugeValue, float64(*s.Memory.WorkingSetBytes)))
    }
    
    func (rc *resourceMetricsCollector) collectNodeSwapMetrics(ch chan<- metrics.Metric, s summary.NodeStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:13:37 UTC 2023
    - 9.2K bytes
    - Viewed (2)
  5. staging/src/k8s.io/api/autoscaling/v2beta1/types.go

    	// more information about how each type of metric must respond.
    	// +optional
    	// +listType=atomic
    	Metrics []MetricSpec `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
    }
    
    // MetricSourceType indicates the type of metric.
    type MetricSourceType string
    
    const (
    	// ObjectMetricSourceType is a metric describing a kubernetes object
    	// (for example, hits-per-second on an Ingress object).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 26.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      optional k8s.io.apimachinery.pkg.api.resource.Quantity targetValue = 3;
    
      // selector is the string-encoded form of a standard kubernetes label selector for the given metric
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
      // When unset, just the metricName will be used to gather metrics.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cluster-health.go

    		"Count of online drives in the cluster")
    	healthDrivesCountMD = NewGaugeMD(healthDrivesCount,
    		"Count of all drives in the cluster")
    )
    
    // loadClusterHealthDriveMetrics - `MetricsLoaderFn` for cluster storage drive metrics
    // such as online, offline and total drives.
    func loadClusterHealthDriveMetrics(ctx context.Context, m MetricValues,
    	c *metricsCache,
    ) error {
    	clusterDriveMetrics, _ := c.clusterDriveMetrics.Get()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 3;
    }
    
    // ObjectMetricStatus indicates the current value of a metric describing a
    // kubernetes object (for example, hits-per-second on an Ingress object).
    message ObjectMetricStatus {
      // metric identifies the target metric by name and selector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2/generated.proto

      // target specifies the target value for the given metric
      optional MetricTarget target = 2;
    
      // metric identifies the target metric by name and selector
      optional MetricIdentifier metric = 3;
    }
    
    // ObjectMetricStatus indicates the current value of a metric describing a
    // kubernetes object (for example, hits-per-second on an Ingress object).
    message ObjectMetricStatus {
      // metric identifies the target metric by name and selector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2/types_swagger_doc_generated.go

    	"name":     "name is the name of the given metric",
    	"selector": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top