mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: note automatic conversion to ms
for influx protocol (#4224)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
1e15eea76a
commit
f247160699
2 changed files with 4 additions and 2 deletions
|
@ -572,7 +572,8 @@ The `/api/v1/export` endpoint should return the following response:
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that InfluxDB line protocol expects [timestamps in *nanoseconds* by default](https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/#timestamp),
|
Note that InfluxDB line protocol expects [timestamps in *nanoseconds* by default](https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/#timestamp),
|
||||||
while VictoriaMetrics stores them with *milliseconds* precision.
|
while VictoriaMetrics stores them with *milliseconds* precision. It is allowed to ingest timestamps with seconds,
|
||||||
|
microseconds or nanoseconds precision - VictoriaMetrics will automatically convert them to milliseconds.
|
||||||
|
|
||||||
Extra labels may be added to all the written time series by passing `extra_label=name=value` query args.
|
Extra labels may be added to all the written time series by passing `extra_label=name=value` query args.
|
||||||
For example, `/write?extra_label=foo=bar` would add `{foo="bar"}` label to all the ingested metrics.
|
For example, `/write?extra_label=foo=bar` would add `{foo="bar"}` label to all the ingested metrics.
|
||||||
|
|
|
@ -576,7 +576,8 @@ The `/api/v1/export` endpoint should return the following response:
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that InfluxDB line protocol expects [timestamps in *nanoseconds* by default](https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/#timestamp),
|
Note that InfluxDB line protocol expects [timestamps in *nanoseconds* by default](https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/#timestamp),
|
||||||
while VictoriaMetrics stores them with *milliseconds* precision.
|
while VictoriaMetrics stores them with *milliseconds* precision. It is allowed to ingest timestamps with seconds,
|
||||||
|
microseconds or nanoseconds precision - VictoriaMetrics will automatically convert them to milliseconds.
|
||||||
|
|
||||||
Extra labels may be added to all the written time series by passing `extra_label=name=value` query args.
|
Extra labels may be added to all the written time series by passing `extra_label=name=value` query args.
|
||||||
For example, `/write?extra_label=foo=bar` would add `{foo="bar"}` label to all the ingested metrics.
|
For example, `/write?extra_label=foo=bar` would add `{foo="bar"}` label to all the ingested metrics.
|
||||||
|
|
Loading…
Reference in a new issue