risingwave_common::telemetry::report

Trait TelemetryReportCreator

source
pub trait TelemetryReportCreator {
    // Required methods
    fn create_report<'life0, 'async_trait>(
        &'life0 self,
        tracking_id: String,
        session_id: String,
        up_time: u64,
    ) -> Pin<Box<dyn Future<Output = Result<impl TelemetryToProtobuf, TelemetryError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn report_type(&self) -> &str;
}

Required Methods§

source

fn create_report<'life0, 'async_trait>( &'life0 self, tracking_id: String, session_id: String, up_time: u64, ) -> Pin<Box<dyn Future<Output = Result<impl TelemetryToProtobuf, TelemetryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn report_type(&self) -> &str

Object Safety§

This trait is not object safe.

Implementors§