Struct collectd_plugin::ValueListBuilder [] [src]

pub struct ValueListBuilder<'a> { /* fields omitted */ }

Creates a value list to report values to collectd.

Methods

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

[src]

Primes a value list for submission. plugin will most likely be the name from the PluginManager and type_ is the datatype found in types.db

[src]

A set of observed values that belong to the same plugin and type instance

[src]

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

[src]

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.

[src]

Override the machine's hostname that the observed values will be attributed to. Best to override when observing values from another machine

[src]

The timestamp at which the value was collected. Overrides the default time, which is when collectd receives the values from submit. Use only if there is a significant delay is metrics gathering or if submitting values from the past.

[src]

The interval in which new values are to be expected. This is typically handled at a global or plugin level. Use at your own discretion.

[src]

Submits the observed values to collectd and returns errors if encountered

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ValueListBuilder<'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 ValueListBuilder<'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 ValueListBuilder<'a>

impl<'a> Sync for ValueListBuilder<'a>