13 releases

0.0.2-alpha.1 Oct 16, 2023
0.0.1-alpha.11 Aug 4, 2023
0.0.1-alpha.9 Jul 31, 2023

#658 in Development tools

Download history 229/week @ 2024-01-11 211/week @ 2024-01-18 294/week @ 2024-01-25 569/week @ 2024-02-01 155/week @ 2024-02-08 265/week @ 2024-02-15 213/week @ 2024-02-22 442/week @ 2024-02-29 307/week @ 2024-03-07 360/week @ 2024-03-14 501/week @ 2024-03-21 231/week @ 2024-03-28 480/week @ 2024-04-04 515/week @ 2024-04-11 430/week @ 2024-04-18 598/week @ 2024-04-25

2,071 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

56KB
1K SLoC

Project Forum Chat

License: MIT License: Apache-2.0

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–27MB
~383K SLoC