Crate rrd

Source
Expand description

Rust API for librrd.

The Rust wrappers for supported librrd functions are in ops, e.g. ops::create.

See the /examples directory or tests/tutorial.rs for detailed examples. The latter is a recreation of https://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html, which uses the CLI tools, with this library.

§Logging

If unexpected behavior is observed, it can be helpful to see exactly what paramters are being provided to the underlying librrd functions. For operations that do any level of mapping of their input into librrd input, the log crate is used at debug level, so log output can be enabled with RUST_LOG=rrd=debug (if using env_logger) or other means of configuring log.

Re-exports§

pub use chrono;

Modules§

data
Support for navigating fetched data sets.
error
RRD-related errors.
ops
Wrappers around top level librrd entry points.
util
Miscellaneous utilities.

Enums§

ConsolidationFn
How to aggregate primary data points in a RRA.

Type Aliases§

Timestamp
The point in time associated with a data point.