Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for collectorPaths (0.07 sec)

  1. cmd/metrics-v3-handler.go

    	// by /api/a/b and /api/a/c (and any other matching descendant collector
    	// paths).
    
    	var gatherers []prometheus.Gatherer
    	for _, collectorPath := range h.metricsData.collectorPaths {
    		if collectorPath.isDescendantOf(path) {
    			gatherer := h.metricsData.mgGatherers[collectorPath]
    
    			// For Bucket metrics we need to set the buckets argument inside the
    			// metric group, so that it will affect collection. If no buckets
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    type collectorPath string
    
    // metricPrefix converts a collector path to a metric name prefix. The path is
    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), SlashSeparator)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top