From ad8a43b4e14c7421ce142cbe6b46383672602032 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 12 Aug 2019 15:58:32 +0300 Subject: [PATCH] README.md: fix metric names in influx line protocol example Default separator between `measurement` and `field_name` is `_`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13ada32f4..6a8a5dc95 100644 --- a/README.md +++ b/README.md @@ -221,8 +221,8 @@ foo,tag1=value1,tag2=value2 field1=12,field2=40 is converted into the following Prometheus data points: ``` -foo.field1{tag1="value1", tag2="value2"} 12 -foo.field2{tag1="value1", tag2="value2"} 40 +foo_field1{tag1="value1", tag2="value2"} 12 +foo_field2{tag1="value1", tag2="value2"} 40 ``` Example for writing data with [Influx line protocol](https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/)