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

Download history 527/week @ 2024-07-25 591/week @ 2024-08-01 397/week @ 2024-08-08 344/week @ 2024-08-15 401/week @ 2024-08-22 579/week @ 2024-08-29 593/week @ 2024-09-05 631/week @ 2024-09-12 759/week @ 2024-09-19 484/week @ 2024-09-26 487/week @ 2024-10-03 386/week @ 2024-10-10 404/week @ 2024-10-17 577/week @ 2024-10-24 580/week @ 2024-10-31 548/week @ 2024-11-07

2,228 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
~351K SLoC