pub struct OtlpObservabilityQueryAdapter<C> { /* private fields */ }Expand description
Maps an OTLP-compatible backend’s query API onto the application port. Values retain backend-provided unit, scope and exemplars; this adapter derives neither health scores nor causal links.
Implementations§
Source§impl<C> OtlpObservabilityQueryAdapter<C>
impl<C> OtlpObservabilityQueryAdapter<C>
Trait Implementations§
Source§impl<C: Clone> Clone for OtlpObservabilityQueryAdapter<C>
impl<C: Clone> Clone for OtlpObservabilityQueryAdapter<C>
Source§fn clone(&self) -> OtlpObservabilityQueryAdapter<C>
fn clone(&self) -> OtlpObservabilityQueryAdapter<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for OtlpObservabilityQueryAdapter<C>
impl<C: Debug> Debug for OtlpObservabilityQueryAdapter<C>
Source§impl<C> ObservabilityQueryPort for OtlpObservabilityQueryAdapter<C>where
C: OtlpMetricsQueryClient,
impl<C> ObservabilityQueryPort for OtlpObservabilityQueryAdapter<C>where
C: OtlpMetricsQueryClient,
fn query<'a>( &'a self, query: ObservabilityQuery, ) -> Pin<Box<dyn Future<Output = Result<ObservabilityProjection, PortError>> + Send + 'a>>
Source§fn available_series(&self) -> Vec<String>
fn available_series(&self) -> Vec<String>
Exact series names this reader can resolve without inventing aliases.
Readers backed by a dynamic remote catalog may leave this empty until
they can expose that capability explicitly.
Auto Trait Implementations§
impl<C> Freeze for OtlpObservabilityQueryAdapter<C>where
C: Freeze,
impl<C> RefUnwindSafe for OtlpObservabilityQueryAdapter<C>where
C: RefUnwindSafe,
impl<C> Send for OtlpObservabilityQueryAdapter<C>where
C: Send,
impl<C> Sync for OtlpObservabilityQueryAdapter<C>where
C: Sync,
impl<C> Unpin for OtlpObservabilityQueryAdapter<C>where
C: Unpin,
impl<C> UnsafeUnpin for OtlpObservabilityQueryAdapter<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for OtlpObservabilityQueryAdapter<C>where
C: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request