mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs: note automatic conversion to ms
for influx protocol (#4224)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
a5fb8b93a8
commit
3d955d1078
@ -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.
|
||||||
|
@ -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 New Issue
Block a user