Crate dcollector

Source
Expand description

“Dcollector” TimescaleDB agent library.

Re-exports§

pub use models::DiskStat;
pub use models::NetStat;
pub use models::ProcStat;
pub use models::SysStat;
pub use models::UpsStat;
pub use schema::disk_stats;
pub use schema::net_stats;
pub use schema::proc_stats;
pub use schema::sys_stats;
pub use schema::ups_stats;

Modules§

instrument
Attach a span to a std::future::Future.
models
RDBM models
postgres
Postgres functions
schema
Autogenerated Diesel schema
systeminfo
System info API
ups
UPS API

Macros§

debug
Constructs an event at the debug level.
error
Constructs an event at the error level.
info
Constructs an event at the info level.
trace
Constructs an event at the trace level.
warn
Constructs an event at the warn level.

Structs§

SystemTime
A measurement of the system clock, useful for talking to external entities like the file system or other processes.

Constants§

UNIX_EPOCH
An anchor in time which can be used to create new SystemTime instances or learn about where in time a SystemTime lies.

Traits§

Display
Format trait for an empty format, {}.

Attribute Macros§

instrument
Instruments a function to create and enter a tracing span every time the function is called.