From 341bed4822a53a1708bccc0b3aa3ce8eb25ea5a3 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 18 Jun 2019 18:59:12 +0300 Subject: [PATCH] README.md: mention that arbitrary number of lines may be sent in a single request via supported ingestion protocols --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b9ea6b3cd..ba1dd4af7 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,7 @@ Example for writing data with Influx line protocol to local VictoriaMetrics usin curl -d 'measurement,tag1=value1,tag2=value2 field1=123,field2=1.23' -X POST 'http://localhost:8428/write' ``` +Arbitrary number of lines delimited by '\n' may be sent in a single request. After that the data may be read via [/api/v1/export](#how-to-export-time-series) endpoint: ``` @@ -263,6 +264,7 @@ Example for writing data with Graphite plaintext protocol to local VictoriaMetri echo "foo.bar.baz;tag1=value1;tag2=value2 123 `date +%s`" | nc -N localhost 2003 ``` +Arbitrary number of lines delimited by `\n` may be sent in one go. After that the data may be read via [/api/v1/export](#how-to-export-time-series) endpoint: ``` @@ -294,6 +296,7 @@ Example for writing data with OpenTSDB protocol to local VictoriaMetrics using ` echo "put foo.bar.baz `date +%s` 123 tag1=value1 tag2=value2" | nc -N localhost 4242 ``` +Arbitrary number of lines delimited by `\n` may be sent in one go. After that the data may be read via [/api/v1/export](#how-to-export-time-series) endpoint: ```