13 releases

0.0.5 Aug 12, 2025
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.9 Jul 31, 2023

#360 in #metrics

Download history 545/week @ 2025-08-26 538/week @ 2025-09-02 617/week @ 2025-09-09 298/week @ 2025-09-16 647/week @ 2025-09-23 729/week @ 2025-09-30 694/week @ 2025-10-07 502/week @ 2025-10-14 483/week @ 2025-10-21 645/week @ 2025-10-28 591/week @ 2025-11-04 458/week @ 2025-11-11 1123/week @ 2025-11-18 375/week @ 2025-11-25 447/week @ 2025-12-02 359/week @ 2025-12-09

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

MIT/Apache

8KB
110 lines

Project Forum Chat

License: MIT License: Apache-2.0

Core types for influxive crates. The main point of this crate is to expose the [MetricWriter] trait to be used by downstream influxive crates.

Example [Metric] type creation:

let _metric = influxive_core::Metric::new(std::time::SystemTime::now(), "my.name")
    .with_field("field.bool", true)
    .with_field("field.float", 3.14)
    .with_field("field.signed", -42)
    .with_field("field.unsigned", 42)
    .with_field("field.string", "string.value")
    .with_tag("tag.bool", true)
    .with_tag("tag.float", 3.14)
    .with_tag("tag.signed", -42)
    .with_tag("tag.unsigned", 42)
    .with_tag("tag.string", "string.value");

No runtime deps