14 releases
0.0.3-alpha.1 | Jun 5, 2024 |
---|---|
0.0.2-alpha.1 | Oct 16, 2023 |
0.0.1-alpha.11 | Aug 4, 2023 |
0.0.1-alpha.9 | Jul 31, 2023 |
#1564 in Development tools
2,228 downloads per month
Used in 5 crates
(2 directly)
56KB
1K
SLoC
Run influxd as a child process.
Example
use influxive_core::Metric;
use influxive_child_svc::*;
let tmp = tempfile::tempdir().unwrap();
let influxive = InfluxiveChildSvc::new(
InfluxiveChildSvcConfig::default()
.with_database_path(Some(tmp.path().to_owned())),
).await.unwrap();
influxive.write_metric(
Metric::new(
std::time::SystemTime::now(),
"my.metric",
)
.with_field("value", 3.14)
.with_tag("tag", "test-tag")
);
Dependencies
~9–24MB
~351K SLoC