Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for apiStats (0.3 sec)

  1. cmd/metrics.go

    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(s3Namespace, "errors", "total"),
    				"Total number of s3 errors in current MinIO server instance",
    				[]string{"api"}, nil),
    			prometheus.CounterValue,
    			float64(value),
    			api,
    		)
    	}
    
    	for api, value := range httpStats.TotalS3Canceled.APIStats {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. cmd/http-tracer_test.go

    				time.Sleep(1 * time.Microsecond)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	finalStats := httpStats.toServerHTTPStats(false)
    	totalRequests := 0
    	for _, v := range finalStats.TotalS3Requests.APIStats {
    		totalRequests += v
    	}
    	if totalRequests == 0 {
    		t.Error("Expected some total requests to be recorded, but got zero")
    	}
    	t.Logf("Total requests recorded: %d", totalRequests)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    			httpStats := globalHTTPStats.toServerHTTPStats(true)
    			metrics = make([]MetricV2, 0, 3+
    				len(httpStats.CurrentS3Requests.APIStats)+
    				len(httpStats.TotalS3Requests.APIStats)+
    				len(httpStats.TotalS3Errors.APIStats)+
    				len(httpStats.TotalS35xxErrors.APIStats)+
    				len(httpStats.TotalS34xxErrors.APIStats))
    			metrics = append(metrics, MetricV2{
    				Description: getS3RejectedAuthRequestsTotalMD(),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 133.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	s3OutputBytes        uint64
    }
    
    // ServerHTTPAPIStats holds total number of HTTP operations from/to the server,
    // including the average duration the call was spent.
    type ServerHTTPAPIStats struct {
    	APIStats map[string]int `json:"apiStats"`
    }
    
    // ServerHTTPStats holds all type of http operations performed to/from the server
    // including their average execution time.
    type ServerHTTPStats struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
Back to top