pub struct PrometheusIntakeSource;Expand description
Prometheus/Alertmanager intake source stub.
This is intentionally a compile-safe placeholder so downstream callers can wire the source type today while the concrete alert payload mapping is implemented in a later issue.
Trait Implementations§
Source§impl Clone for PrometheusIntakeSource
impl Clone for PrometheusIntakeSource
Source§fn clone(&self) -> PrometheusIntakeSource
fn clone(&self) -> PrometheusIntakeSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrometheusIntakeSource
impl Debug for PrometheusIntakeSource
Source§impl Default for PrometheusIntakeSource
impl Default for PrometheusIntakeSource
Source§fn default() -> PrometheusIntakeSource
fn default() -> PrometheusIntakeSource
Returns the “default value” for a type. Read more
Source§impl IntakeSource for PrometheusIntakeSource
impl IntakeSource for PrometheusIntakeSource
Source§fn source_type(&self) -> IntakeSourceType
fn source_type(&self) -> IntakeSourceType
Get the source type
Source§fn process(&self, _payload: &[u8]) -> IntakeResult<Vec<IntakeEvent>>
fn process(&self, _payload: &[u8]) -> IntakeResult<Vec<IntakeEvent>>
Process incoming data and extract potential issues
Auto Trait Implementations§
impl Freeze for PrometheusIntakeSource
impl RefUnwindSafe for PrometheusIntakeSource
impl Send for PrometheusIntakeSource
impl Sync for PrometheusIntakeSource
impl Unpin for PrometheusIntakeSource
impl UnsafeUnpin for PrometheusIntakeSource
impl UnwindSafe for PrometheusIntakeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more