mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
README.md: add an example on how Influx line protocol is converted into Prometheus data points
This commit is contained in:
parent
a3e26de45e
commit
5a5ba749f2
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -209,6 +209,19 @@ VictoriaMetrics maps Influx data using the following rules:
|
||||||
* Field values are mapped to time series values
|
* Field values are mapped to time series values
|
||||||
* Tags are mapped to Prometheus labels as-is
|
* Tags are mapped to Prometheus labels as-is
|
||||||
|
|
||||||
|
For example, the following Influx line:
|
||||||
|
|
||||||
|
```
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### How to send data from Graphite-compatible agents such as [StatsD](https://github.com/etsy/statsd)?
|
### How to send data from Graphite-compatible agents such as [StatsD](https://github.com/etsy/statsd)?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue