Struct cernan::source::Internal
[−]
[src]
pub struct Internal;
'Internal' is a Source which is meant to allow cernan to self-telemeter. This is an improvement over past methods as an explicit Source gives operators the ability to define a filter topology for such telemetry and makes it easier for modules to report on themeselves.
Trait Implementations
impl Source<InternalConfig> for Internal
[src]
Internal as Source
The 'run' of Internal will pull Telemetry off the internal queue, apply Internal's configured tags and push said telemetry into operator configured channels. If no channels are configured we toss the Telemetry onto the floor.
fn init(_config: InternalConfig) -> Self
[src]
Create a new Internal
fn run(self, chans: Channel, poller: Poll)
[src]
Run method invoked by RunnableSource. It is from this method that Sources produce metric::Events. Read more
fn new(chans: Channel, config: SConfig) -> RunnableSource<Self, SConfig>
[src]
Constructs a so-called runnable source for the given Source and config.` See RunnableSource. Read more