Project Forum Chat

License: MIT License: Apache-2.0

Run influxd as a child process.

Example

```rust use influxivecore::Metric; use influxivechild_svc::*;

let tmp = tempfile::tempdir().unwrap();

let influxive = InfluxiveChildSvc::new( InfluxiveChildSvcConfig::default() .withdatabasepath(Some(tmp.path().to_owned())), ).await.unwrap();

influxive.writemetric( Metric::new( std::time::SystemTime::now(), "my.metric", ) .withfield("value", 3.14) .with_tag("tag", "test-tag") ); ```