Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 532 for Cedric (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go

     *
     * Promoting the stability level of the metric is a responsibility of the component owner, since it
     * involves explicitly acknowledging support for the metric across multiple releases, in accordance with
     * the metric stability policy.
     */
    var (
    	etcdRequestLatency = compbasemetrics.NewHistogramVec(
    		&compbasemetrics.HistogramOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/monitoring/monitoring.go

    	for name, def := range d.known {
    		if def.Bounds == nil {
    			continue
    		}
    		// for each histogram metric (i.e. those with bounds), set up a view explicitly defining those buckets.
    		v := metric.WithView(metric.NewView(
    			metric.Instrument{Name: name},
    			metric.Stream{Aggregation: metric.AggregationExplicitBucketHistogram{
    				Boundaries: def.Bounds,
    			}},
    		))
    		opts = append(opts, v)
    	}
    	return opts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/runtime/metrics/example_test.go

    	"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.
    	// If it's not, the resulting value will always have
    	// kind KindBad.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 08 16:09:01 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. tests/integration/telemetry/policy/traffic_registry_only_test.go

    				Query: prometheus.Query{
    					Metric:      "istio_tcp_connections_closed_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"destination_service_name": "BlackHoleCluster",
    					},
    				},
    			},
    		},
    		{
    			Name:     "HTTPS Traffic Conflict",
    			PortName: "https-conflict",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_tcp_connections_closed_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/traffic_allow_any_test.go

    )
    
    func TestOutboundTrafficPolicy_AllowAny(t *testing.T) {
    	cases := []*TestCase{
    		{
    			Name:     "HTTP Traffic",
    			PortName: "http",
    			Expected: Expected{
    				Query: prometheus.Query{
    					Metric:      "istio_requests_total",
    					Aggregation: "sum",
    					Labels: map[string]string{
    						"reporter":                 "source",
    						"destination_service_name": "PassthroughCluster",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  6. pkg/monitoring/options.go

    package monitoring
    
    // Options encode changes to the options passed to a Metric at creation time.
    type Options func(*options)
    
    type options struct {
    	enabledCondition func() bool
    	unit             Unit
    	name             string
    	description      string
    }
    
    // WithUnit provides configuration options for a new Metric, providing unit of measure
    // information for a new Metric.
    func WithUnit(unit Unit) Options {
    	return func(opts *options) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	return vMetrics
    }
    
    func expectedFSStats() kubestats.FsStats {
    	metric := expectedMetrics()
    	available := uint64(metric.Available.Value())
    	capacity := uint64(metric.Capacity.Value())
    	used := uint64(metric.Used.Value())
    	inodes := uint64(metric.Inodes.Value())
    	inodesFree := uint64(metric.InodesFree.Value())
    	inodesUsed := uint64(metric.InodesUsed.Value())
    	return kubestats.FsStats{
    		AvailableBytes: &available,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

        matchLabels:
          app: productpage # Maps to an existing workload without conflicts in the same ns, no error
      metrics:
        - providers:
            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: maps-to-nonexistent
      namespace: default
    spec:
      selector:
        matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.yaml

      - containerResource:
          container: containerValue
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        external:
          metric:
            name: nameValue
            selector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
                - valuesValue
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2beta2.HorizontalPodAutoscaler.json

              },
              "target": {
                "type": "typeValue",
                "value": "0",
                "averageValue": "0",
                "averageUtilization": 4
              },
              "metric": {
                "name": "nameValue",
                "selector": {
                  "matchLabels": {
                    "matchLabelsKey": "matchLabelsValue"
                  },
                  "matchExpressions": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 7.3K bytes
    - Viewed (0)
Back to top