MonitoringExporterImpl

Trait MonitoringExporterImpl 

Source
pub trait MonitoringExporterImpl: Send + Sync {
    // Required methods
    fn export_metrics<'life0, 'life1, 'async_trait>(
        &'life0 self,
        metrics: &'life1 [Metric],
    ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn export_traces<'life0, 'life1, 'async_trait>(
        &'life0 self,
        traces: &'life1 [TraceSpan],
    ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn export_logs<'life0, 'life1, 'async_trait>(
        &'life0 self,
        logs: &'life1 [LogEntry],
    ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn export_metrics<'life0, 'life1, 'async_trait>( &'life0 self, metrics: &'life1 [Metric], ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn export_traces<'life0, 'life1, 'async_trait>( &'life0 self, traces: &'life1 [TraceSpan], ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn export_logs<'life0, 'life1, 'async_trait>( &'life0 self, logs: &'life1 [LogEntry], ) -> Pin<Box<dyn Future<Output = Result<(), MonitoringError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§