docs: Update HTTP API docs for limit (#13987)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
pull/13978/head^2
Salva Corts 1 year ago committed by GitHub
parent 3bf7fa9f15
commit 6731ea99ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      docs/sources/reference/loki-http-api.md

@ -251,6 +251,9 @@ The JSON object must be set immediately after the log line. Here is an example o
In microservices mode, `/loki/api/v1/push` is exposed by the distributor.
If [`block_ingestion_until`](/docs/loki/<LOKI_VERSION>/configuration/#limits_config) is configured and push requests are blocked, the endpoint will return the status code configured in `block_ingestion_status_code` (`260` by default)
along with an error message. If the configured status code is `200`, no error message will be returned.
### Examples
The following cURL command pushes a stream with the label "foo=bar2" and a single log line "fizzbuzz" using JSON encoding:

Loading…
Cancel
Save