Skip to content

Commit

Permalink
docs: Update HTTP API docs for limit (grafana#13987)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and pascal-sochacki committed Aug 29, 2024
1 parent 3dc47eb commit 859197e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/sources/reference/loki-http-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 859197e

Please sign in to comment.