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

#1338 in Development tools

Download history 366/week @ 2024-08-10 425/week @ 2024-08-17 484/week @ 2024-08-24 472/week @ 2024-08-31 646/week @ 2024-09-07 645/week @ 2024-09-14 811/week @ 2024-09-21 378/week @ 2024-09-28 438/week @ 2024-10-05 430/week @ 2024-10-12 392/week @ 2024-10-19 715/week @ 2024-10-26 492/week @ 2024-11-02 546/week @ 2024-11-09 435/week @ 2024-11-16 349/week @ 2024-11-23

1,931 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
~353K SLoC