Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithLabelValues (0.25 sec)

  1. cmd/metrics.go

    	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)
    
    	storageMetricsPrometheus(ch)
    	nodeHealthMetricsPrometheus(ch)
    	bucketUsageMetricsPrometheus(ch)
    	networkMetricsPrometheus(ch)
    	httpMetricsPrometheus(ch)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    	}
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioNodeCollector) Collect(ch chan<- prometheus.Metric) {
    	// Expose MinIO's version information
    	minioVersionInfo.WithLabelValues(Version, CommitID).Set(1.0)
    
    	populateAndPublish(c.metricsGroups, func(metric MetricV2) bool {
    		labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    		values = append(values, globalLocalNodeName)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top