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

#727 in Development tools

Download history 118/week @ 2024-01-03 249/week @ 2024-01-10 215/week @ 2024-01-17 268/week @ 2024-01-24 421/week @ 2024-01-31 350/week @ 2024-02-07 231/week @ 2024-02-14 217/week @ 2024-02-21 407/week @ 2024-02-28 349/week @ 2024-03-06 296/week @ 2024-03-13 560/week @ 2024-03-20 226/week @ 2024-03-27 409/week @ 2024-04-03 446/week @ 2024-04-10 434/week @ 2024-04-17

1,589 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–26MB
~368K SLoC