Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for globalMetricsV3CollectorPaths (0.49 sec)

  1. cmd/metrics-v3-handler.go

    	metricsData *metricsV3Collection
    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    	globalMetricsV3Once           sync.Once
    )
    
    func newMetricsV3Server(auth func(h http.Handler) http.Handler) *metricsV3Server {
    	registry := prometheus.NewRegistry()
    	metricGroups := newMetricGroups(registry)
    	globalMetricsV3Once.Do(func() {
    		globalMetricsV3CollectorPaths = metricGroups.collectorPaths
    	})
    	return &metricsV3Server{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/server_test.go

    		Subject:   s.accessKey,
    		Issuer:    "prometheus",
    	})
    
    	token, err := jwt.SignedString([]byte(s.secretKey))
    	c.Assert(err, nil)
    
    	for _, cpath := range globalMetricsV3CollectorPaths {
    		request, err := newTestSignedRequest(http.MethodGet, s.endPoint+minioReservedBucketPath+metricsV3Path+string(cpath),
    			0, nil, s.accessKey, s.secretKey, s.signer)
    		c.Assert(err, nil)
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top