influent.rs
InfluxDB rust package
Overview
This is an InfluxDB driver for Rust.
Install
Cargo.toml
[]
= "0.3"
Usage
extern crate influent;
use create_client;
use ;
use ;
// prepare client
let credentials = Credentials ;
let hosts = vec!;
let client = create_client;
// prepare measurement
let mut measurement = new;
measurement.add_field;
measurement.add_tag;
client.write_one;
Documentation
API documentation placed here.
Compatibility
This is a table of InfluxDB write spec compatibility respectively to Influent version:
InfluxDB | Influent |
---|---|
0.9.2 |
^0.1.0 |
0.9.3 |
^0.2.0 |
License
MIT © Sergey Kamardin