Struct collectd_plugin::ValueList [] [src]

pub struct ValueList<'a> {
    pub values: Vec<ValueReport<'a>>,
    pub plugin: &'a str,
    pub plugin_instance: Option<&'a str>,
    pub type_: &'a str,
    pub type_instance: Option<&'a str>,
    pub host: &'a str,
    pub time: DateTime<Utc>,
    pub interval: Duration,
}

Contains values and metadata that collectd has collected from plugins

Fields

The plugin that submitted this value. This would be your PluginManager when submitting values

Distinguishes entities that yield metrics. Each core would be a different instance of the same plugin, as each core reports "idle", "user", "system" metrics.

This is the string found in types.db, determines how many values are expected and how they should be interpreted

The type instance is used to separate values of identical type which nonetheless belong to one another. For instance, even though "free", "used", and "total" all have types of "Memory" they are different type instances.

The hostname where the values were collectd

The timestamp at which the value was collected

The interval in which new values are to be expected

Methods

impl<'a> ValueList<'a>
[src]

[src]

Trait Implementations

impl<'a> Debug for ValueList<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ValueList<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Clone for ValueList<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for ValueList<'a>

impl<'a> Sync for ValueList<'a>