Skip to main content

OtlpMetricsQueryClient

Trait OtlpMetricsQueryClient 

Source
pub trait OtlpMetricsQueryClient: Send + Sync {
    // Required method
    fn query_range<'a>(
        &'a self,
        query: &'a ObservabilityQuery,
    ) -> Pin<Box<dyn Future<Output = Result<OtlpQueryResponse, PortError>> + Send + 'a>>;
}

Required Methods§

Source

fn query_range<'a>( &'a self, query: &'a ObservabilityQuery, ) -> Pin<Box<dyn Future<Output = Result<OtlpQueryResponse, PortError>> + Send + 'a>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§