Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withLabelValues (0.08 sec)

  1. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top