Module cernan::filter[][src]

Transform or create metric::Event from a stream of metric::Event.

cernan filters are intended to input metric::Event and then adapt that stream, either by injecting new metric::Event or by transforming the stream members as they come through. Exact behaviour varies by filters. The filter receives on an input channel and outputs over its forwards.

Re-exports

pub use self::delay_filter::DelayFilter;
pub use self::delay_filter::DelayFilterConfig;
pub use self::json_encode_filter::JSONEncodeFilter;
pub use self::json_encode_filter::JSONEncodeFilterConfig;

Modules

delay_filter

Filter streams to within a bounded interval of current time.

json_encode_filter

Convert LogLine events into Raw events encoded as JSON.

Structs

FlushBoundaryFilter

Buffer events for a set period of flushes

FlushBoundaryFilterConfig

Configuration for FlushBoundaryFilter

ProgrammableFilter

A filter programmable by end-users, in Lua.

ProgrammableFilterConfig

Configuration for ProgrammableFilter.

Enums

FilterError

Errors that can strike a Filter

Traits

Filter

The Filter trait