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

#1053 in Development tools

Download history 609/week @ 2024-09-06 654/week @ 2024-09-13 838/week @ 2024-09-20 325/week @ 2024-09-27 517/week @ 2024-10-04 449/week @ 2024-10-11 364/week @ 2024-10-18 659/week @ 2024-10-25 467/week @ 2024-11-01 595/week @ 2024-11-08 450/week @ 2024-11-15 433/week @ 2024-11-22 424/week @ 2024-11-29 347/week @ 2024-12-06 431/week @ 2024-12-13 157/week @ 2024-12-20

1,449 downloads per month
Used in 5 crates (2 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–24MB
~355K SLoC