From 1a834b421037bb42a414ac3640acae4dba801216 Mon Sep 17 00:00:00 2001 From: Zakhar Bessarab Date: Thu, 28 Sep 2023 15:45:20 +0400 Subject: [PATCH] doc: mention InfluxDB v2 HTTP API support Address: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5076 Signed-off-by: Zakhar Bessarab --- README.md | 2 ++ docs/README.md | 2 ++ docs/Single-server-VictoriaMetrics.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 8d560f75d..42a08b6a9 100644 --- a/README.md +++ b/README.md @@ -588,6 +588,8 @@ curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'ht +Please, note that VictoriaMetrics also exposes endpoint for InfluxDB v2 HTTP API at `/influx/api/v2/write` and `/api/v2/write`. + An arbitrary number of lines delimited by '\n' (aka newline char) can be sent in a single request. After that the data may be read via [/api/v1/export](#how-to-export-data-in-json-line-format) endpoint: diff --git a/docs/README.md b/docs/README.md index 129d651e8..4f41e7dd1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -591,6 +591,8 @@ curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'ht +Please, note that VictoriaMetrics also exposes endpoint for InfluxDB v2 HTTP API at `/influx/api/v2/write` and `/api/v2/write`. + An arbitrary number of lines delimited by '\n' (aka newline char) can be sent in a single request. After that the data may be read via [/api/v1/export](#how-to-export-data-in-json-line-format) endpoint: diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 4603ffc52..02c82ce34 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -599,6 +599,8 @@ curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'ht +Please, note that VictoriaMetrics also exposes endpoint for InfluxDB v2 HTTP API at `/influx/api/v2/write` and `/api/v2/write`. + An arbitrary number of lines delimited by '\n' (aka newline char) can be sent in a single request. After that the data may be read via [/api/v1/export](#how-to-export-data-in-json-line-format) endpoint: