15 releases

0.0.4-alpha.1 Feb 19, 2025
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

#1603 in Development tools

Download history 408/week @ 2024-11-18 475/week @ 2024-11-25 309/week @ 2024-12-02 451/week @ 2024-12-09 372/week @ 2024-12-16 103/week @ 2024-12-23 158/week @ 2024-12-30 546/week @ 2025-01-06 569/week @ 2025-01-13 415/week @ 2025-01-20 370/week @ 2025-01-27 628/week @ 2025-02-03 539/week @ 2025-02-10 574/week @ 2025-02-17 485/week @ 2025-02-24 454/week @ 2025-03-03

2,085 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

57KB
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–25MB
~368K SLoC