Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for metricsServerHandler (0.22 sec)

  1. cmd/metrics-router.go

    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    	metricsRouter.Handle(prometheusMetricsV2ClusterPath, auth(metricsServerHandler()))
    	metricsRouter.Handle(prometheusMetricsV2BucketPath, auth(metricsBucketHandler()))
    	metricsRouter.Handle(prometheusMetricsV2NodePath, auth(metricsNodeHandler()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    			closer.Close()
    		}
    	})
    }
    
    func metricsBucketHandler() http.Handler {
    	return metricsHTTPHandler(bucketCollector, "handler.MetricsBucket")
    }
    
    func metricsServerHandler() http.Handler {
    	registry := prometheus.NewRegistry()
    
    	// Report all other metrics
    	logger.CriticalIf(GlobalContext, registry.Register(clusterCollector))
    
    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