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

#666 in Debugging

Download history 82/week @ 2024-12-26 369/week @ 2025-01-02 661/week @ 2025-01-09 445/week @ 2025-01-16 434/week @ 2025-01-23 280/week @ 2025-01-30 715/week @ 2025-02-06 628/week @ 2025-02-13 509/week @ 2025-02-20 523/week @ 2025-02-27 331/week @ 2025-03-06 606/week @ 2025-03-13 797/week @ 2025-03-20 788/week @ 2025-03-27 585/week @ 2025-04-03 460/week @ 2025-04-10

2,800 downloads per month
Used in 4 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
~369K SLoC