Rust Client for the InfluxDB Time Series Database
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.7.1...v0.7.2
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.7.0...v0.7.1
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.6.0...v0.7.0
u
suffix instead of i
) by @mcronce in https://github.com/influxdb-rs/influxdb-rust/pull/113
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.2...v0.6.0
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.1...v0.5.2
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.5.0...v0.5.1
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.4.0...v0.5.0
Full Changelog: https://github.com/influxdb-rs/influxdb-rust/compare/v0.3.0...v0.4.0
GROUP BY
queries by providing deserialize_next_tagged
to deserialize the group fields (@SafariMonkey in #69)Default
for series
in InfluxDb Response (@SafariMonkey in #67)WriteQuery
and ReadQuery
now derive Debug
and Clone
(@jaredwolff in #63)Deserialize series are now deserialized using field names not field order (@SafariMonkey in #62)
Due to InfluxDb inconsistencies between versions and ambiguities, Timestamp::Now
has been removed. Please calculate the current timestamp since the epoch yourself and use the other available Timestamp
values like so:
use influxdb::{Timestamp};
use std::time::{SystemTime, UNIX_EPOCH};
let start = SystemTime::now();
let since_the_epoch = start
.duration_since(UNIX_EPOCH)
.expect("Time went backwards")
.as_millis();
let query = Timestamp::Milliseconds(since_the_epoch)
.into_query("weather")
.add_field("temperature", 82);
This adds #[derive(InfluxDbWriteable)]
for Structs, fixes escaping for the line-protocol and improves timestamp handling.
#[derive(InfluxDbWriteable)]
for deriving struct writing (@msrd0)u128
(@mario-kr)rfc3339
as default timestamp precision (@zjhmale)