mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: mention errors processing for /api/v1/import API (#4448)
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4446 Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
897d17a5b3
commit
0e3e045f5b
2 changed files with 12 additions and 0 deletions
|
@ -1166,6 +1166,12 @@ Additionally, VictoriaMetrics can accept metrics via the following popular data
|
|||
|
||||
### How to import data in JSON line format
|
||||
|
||||
`/api/v1/import` is an API optimized for performance and processes data in a streaming fashion.
|
||||
The client can transfer unlimited amount of data through one open connection.
|
||||
`/api/v1/import` API doesn't return parsing errors to the client, as it is expected for data stream
|
||||
to be not interrupted. Instead, look for parsing errors on server side (VictoriaMetrics single-node or vminsert) or
|
||||
check for changes in `vm_rows_invalid_total` (exported by server side) metric.
|
||||
|
||||
Example for importing data obtained via [/api/v1/export](#how-to-export-data-in-json-line-format):
|
||||
|
||||
```console
|
||||
|
|
|
@ -1174,6 +1174,12 @@ Additionally, VictoriaMetrics can accept metrics via the following popular data
|
|||
|
||||
### How to import data in JSON line format
|
||||
|
||||
`/api/v1/import` is an API optimized for performance and processes data in a streaming fashion.
|
||||
The client can transfer unlimited amount of data through one open connection.
|
||||
`/api/v1/import` API doesn't return parsing errors to the client, as it is expected for data stream
|
||||
to be not interrupted. Instead, look for parsing errors on server side (VictoriaMetrics single-node or vminsert) or
|
||||
check for changes in `vm_rows_invalid_total` (exported by server side) metric.
|
||||
|
||||
Example for importing data obtained via [/api/v1/export](#how-to-export-data-in-json-line-format):
|
||||
|
||||
```console
|
||||
|
|
Loading…
Reference in a new issue