Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for httpStats (0.03 sec)

  1. cmd/metrics-v3-api.go

    	m.Set(apiRequestsWaitingTotal, float64(httpStats.S3RequestsInQueue), "type", "s3")
    	m.Set(apiRequestsIncomingTotal, float64(httpStats.S3RequestsIncoming), "type", "s3")
    
    	for name, value := range httpStats.CurrentS3Requests.APIStats {
    		m.Set(apiRequestsInFlightTotal, float64(value), "name", name, "type", "s3")
    	}
    	for name, value := range httpStats.TotalS3Requests.APIStats {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cmd/http-tracer_test.go

    			defer wg.Done()
    			for j := 0; j < opsPerGoroutine; j++ {
    				switch j % 4 {
    				case 0:
    					httpStats.updateStats("GetObject", &xhttp.ResponseRecorder{})
    				case 1:
    					httpStats.totalS3Requests.Inc("PutObject")
    				case 2:
    					httpStats.totalS3Errors.Inc("DeleteObject")
    				case 3:
    					httpStats.currentS3Requests.Inc("ListObjects")
    				}
    			}
    		}(i)
    	}
    
    	for i := range numReaders {
    		wg.Add(1)
    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/http-stats.go

    }
    
    type bucketHTTPStats struct {
    	sync.RWMutex
    	httpStats map[string]bucketHTTPAPIStats
    }
    
    func newBucketHTTPStats() *bucketHTTPStats {
    	return &bucketHTTPStats{
    		httpStats: make(map[string]bucketHTTPAPIStats),
    	}
    }
    
    func (bh *bucketHTTPStats) delete(bucket string) {
    	bh.Lock()
    	defer bh.Unlock()
    
    	delete(bh.httpStats, bucket)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. cmd/metrics.go

    	}
    }
    
    // collects http metrics for MinIO server in Prometheus specific format
    // and sends to given channel
    func httpMetricsPrometheus(ch chan<- prometheus.Metric) {
    	httpStats := globalHTTPStats.toServerHTTPStats(true)
    
    	for api, value := range httpStats.CurrentS3Requests.APIStats {
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(s3Namespace, "requests", "current"),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    		if !mg.metricsGroupOpts.bucketOnly {
    			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{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 133.6K bytes
    - Viewed (0)
  6. tests/test_return_none_stringified_annotations.py

    
    def test_no_content():
        app = FastAPI()
    
        @app.get("/no-content", status_code=http.HTTPStatus.NO_CONTENT)
        def return_no_content() -> "None":
            return
    
        client = TestClient(app)
        response = client.get("/no-content")
        assert response.status_code == http.HTTPStatus.NO_CONTENT, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 18:44:43 UTC 2025
    - 431 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        }
    
        @Override
        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
            if (cause instanceof LoginUnauthorizedException) {
                return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/response-status-code.md

    /// info | Інформація
    `status_code` також може отримувати значення з `IntEnum`, наприклад, з Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсі користувача):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Mar 19 17:04:17 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/response-status-code.md

    /// info | Info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, wie etwa Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Dies wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    * Diesen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/response-status-code.md

    /// info | Информация
    
    В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> в Python.
    
    ///
    
    Это позволит:
    
    * Возвращать указанный код статуса в ответе.
    * Документировать его как код статуса ответа в OpenAPI схеме (а значит, и в пользовательских интерфейсах):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top