Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for httpStats (0.07 seconds)

  1. 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)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. 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"),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. 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{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 18:44:43 GMT 2025
    - 431 bytes
    - Click Count (0)
  5. 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);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Параметр `status_code` приймає число з HTTP кодом статусу.
    
    /// info | Інформація
    
    `status_code` також може, як альтернативу, приймати `IntEnum`, наприклад, Python [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    Він буде:
    
    * Повертати цей код статусу у відповіді.
    * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсах користувача):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/response-status-code.md

    ///
    
    El parámetro `status_code` recibe un número con el código de estado HTTP.
    
    /// info | Información
    
    `status_code` también puede recibir un `IntEnum`, como por ejemplo el [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python.
    
    ///
    
    Esto hará:
    
    * Devolver ese código de estado en el response.
    * Documentarlo como tal en el esquema de OpenAPI (y por lo tanto, en las interfaces de usuario):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/response-status-code.md

    ///
    
    Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben.
    
    /// info | Info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, wie etwa Pythons [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus).
    
    ///
    
    Dies wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    * Diesen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/response-status-code.md

    ///
    
    Le paramètre `status_code` reçoit un nombre correspondant au code d'état HTTP.
    
    /// info
    
    `status_code` peut aussi recevoir un `IntEnum`, comme le [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python.
    
    ///
    
    Il va :
    
    * Renvoyer ce code d'état dans la réponse.
    * Le documenter comme tel dans le schéma OpenAPI (et donc dans les interfaces utilisateur) :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/response-status-code.md

    /// info | Информация
    
    В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) в Python.
    
    ///
    
    Это позволит:
    
    * Возвращать указанный код статуса в ответе.
    * Документировать его как код статуса ответа в OpenAPI схеме (а значит, и в пользовательских интерфейсах):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7K bytes
    - Click Count (0)
Back to Top