Skip to content

Commit

Permalink
Manual backport #11581
Browse files Browse the repository at this point in the history
  • Loading branch information
JStickler committed Jan 5, 2024
1 parent 0f45321 commit 4fb8c0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/sources/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ The API accepts several formats for timestamps. An integer with ten or fewer dig

The timestamps can also be written in `RFC3339` and `RFC3339Nano` format, as supported by Go's [time](https://pkg.go.dev/time) package.

{{% admonition type="note" %}}
When using `/api/v1/push`, you must send the timestamp as a string and not a number, otherwise the endpoint will return a 400 error.
{{% /admonition %}}

## Query Loki

```
Expand Down

0 comments on commit 4fb8c0f

Please sign in to comment.