- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for pathComps (0.04 seconds)
-
cmd/metrics-router.go
metricsV3Server := newMetricsV3Server(auth) // Register metrics v3 handler. It also accepts an optional query // parameter `?list` - see handler for details. metricsRouter.Methods(http.MethodGet).Path(metricsV3Path + "{pathComps:.*}").Handler(metricsV3Server)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 15 16:28:02 GMT 2024 - 2.6K bytes - Click Count (0) -
cmd/metrics-v3-handler.go
// parameter is provided, no bucket metrics are returned. func (h *metricsV3Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { pathComponents := mux.Vars(r)["pathComps"] isListingRequest := r.Form.Has("list") var buckets []string if strings.HasPrefix(pathComponents, "/bucket/") { // bucket specific metrics, extract the bucket name from the path.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 7.7K bytes - Click Count (0)