pub struct MetricsExporter { /* private fields */ }Expand description
Metrics exporter for integration with external systems
Implementations§
Source§impl MetricsExporter
impl MetricsExporter
pub fn new( export_manager: Arc<ExportManager>, metrics_collector: Arc<MetricsCollector>, ) -> Self
pub async fn export_current_metrics( &self, format: ExportFormat, destinations: Vec<String>, ) -> RragResult<ExportResult>
pub async fn schedule_periodic_export( &self, interval_minutes: u32, format: ExportFormat, destinations: Vec<String>, ) -> RragResult<()>
Auto Trait Implementations§
impl Freeze for MetricsExporter
impl !RefUnwindSafe for MetricsExporter
impl Send for MetricsExporter
impl Sync for MetricsExporter
impl Unpin for MetricsExporter
impl !UnwindSafe for MetricsExporter
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