Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for metric (0.16 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.go

    	desc *prometheus.Desc
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioCollector) Collect(ch chan<- prometheus.Metric) {
    	// Expose MinIO's version information
    	minioVersionInfo.WithLabelValues(Version, CommitID).Set(1.0)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K 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.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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/peer-rest-client.go

    func (client *peerRESTClient) LocalStorageInfo(metrics bool) (info StorageInfo, err error) {
    	resp, err := localStorageInfoRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTMetrics: strconv.FormatBool(metrics),
    	}))
    	return resp.ValueOrZero(), err
    }
    
    // ServerInfo - fetch server information for a remote node.
    func (client *peerRESTClient) ServerInfo(metrics bool) (info madmin.ServerProperties, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication-stats.go

    		Queued:        r.qCache.getSiteStats(),
    		ActiveWorkers: r.ActiveWorkers(),
    		Metrics:       r.srStats.get(),
    		Proxied:       r.pCache.getSiteStats(),
    		ReplicaSize:   atomic.LoadInt64(&r.srStats.ReplicaSize),
    		ReplicaCount:  atomic.LoadInt64(&r.srStats.ReplicaCount),
    	}
    	return m
    }
    
    // Get replication metrics for a bucket from this node since this node came up.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. cmd/api-router.go

    	},
    	{
    		api:     "cors",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"cors", ""},
    	},
    	{
    		api:     "metrics",
    		methods: []string{http.MethodGet, http.MethodPut, http.MethodDelete},
    		queries: []string{"metrics", ""},
    	},
    	{
    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top