Skip to content

Commit 922e39f

Browse files
salvacortsgithub-actions[bot]
authored andcommitted
docs: Update HTTP API docs for limit (grafana#13987)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent cffaccf commit 922e39f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/sources/reference/loki-http-api.md

+3
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ The JSON object must be set immediately after the log line. Here is an example o
251251

252252
In microservices mode, `/loki/api/v1/push` is exposed by the distributor.
253253

254+
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)
255+
along with an error message. If the configured status code is `200`, no error message will be returned.
256+
254257
### Examples
255258

256259
The following cURL command pushes a stream with the label "foo=bar2" and a single log line "fizzbuzz" using JSON encoding:

0 commit comments

Comments
 (0)