Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for metricsHTTPHandler (0.1 sec)

  1. cmd/metrics-resource.go

    				}
    			}
    		}
    
    		return metrics
    	})
    	return mg
    }
    
    // metricsResourceHandler is the prometheus handler for resource metrics
    func metricsResourceHandler() http.Handler {
    	return metricsHTTPHandler(resourceCollector, "handler.MetricsResource")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    	return &minioNodeCollector{
    		metricsGroups: metricsGroups,
    		desc:          prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server per node", nil, nil),
    	}
    }
    
    func metricsHTTPHandler(c prometheus.Collector, funcName string) http.Handler {
    	registry := prometheus.NewRegistry()
    
    	// Report all other metrics
    	logger.CriticalIf(GlobalContext, registry.Register(c))
    
    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