Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for metricsHandler (0.1 sec)

  1. cmd/metrics-router.go

    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    	metricsRouter.Handle(prometheusMetricsV2ClusterPath, auth(metricsServerHandler()))
    	metricsRouter.Handle(prometheusMetricsV2BucketPath, auth(metricsBucketHandler()))
    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.go

    				"Total space on the drive",
    				[]string{"disk"}, nil),
    			prometheus.GaugeValue,
    			float64(disk.TotalSpace),
    			disk.DrivePath,
    		)
    	}
    }
    
    func metricsHandler() http.Handler {
    	registry := prometheus.NewRegistry()
    
    	logger.CriticalIf(GlobalContext, registry.Register(minioVersionInfo))
    
    	logger.CriticalIf(GlobalContext, registry.Register(newMinioCollector()))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		// Metrics operation
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/metrics").HandlerFunc(adminMiddleware(adminAPI.MetricsHandler, traceHdrsS3HFlag))
    
    		if globalIsDistErasure || globalIsErasure {
    			// Heal operations
    
    			// Heal processing endpoint.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	}
    
    	// Reply with storage information (across nodes in a
    	// distributed setup) as json.
    	writeSuccessResponseJSON(w, jsonBytes)
    }
    
    // MetricsHandler - GET /minio/admin/v3/metrics
    // ----------
    // Get realtime server metrics
    func (a adminAPIHandlers) MetricsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ServerInfoAdminAction)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top