pub struct OtlpHttpTracingClient { /* private fields */ }Expand description
HTTP client for querying the agent’s OTLP telemetry store.
Sends GET requests to /api/otlp/traces/{id} and /api/otlp/traces/search
endpoints on the agent daemon.
Implementations§
Trait Implementations§
Source§impl TracingClient for OtlpHttpTracingClient
impl TracingClient for OtlpHttpTracingClient
Source§fn get_trace(&self, trace_id: &str, ctx: &Context) -> Promise<TraceResult>
fn get_trace(&self, trace_id: &str, ctx: &Context) -> Promise<TraceResult>
Fetch a trace by its ID (non-blocking). Read more
Source§fn search_traces(
&self,
params: TraceSearchParams,
ctx: &Context,
) -> Promise<SearchResult>
fn search_traces( &self, params: TraceSearchParams, ctx: &Context, ) -> Promise<SearchResult>
Search for traces matching the given parameters (non-blocking). Read more
Source§fn backend_type(&self) -> &'static str
fn backend_type(&self) -> &'static str
Get the backend type identifier (e.g., “tempo”, “jaeger”).
Auto Trait Implementations§
impl Freeze for OtlpHttpTracingClient
impl !RefUnwindSafe for OtlpHttpTracingClient
impl Send for OtlpHttpTracingClient
impl Sync for OtlpHttpTracingClient
impl Unpin for OtlpHttpTracingClient
impl UnsafeUnpin for OtlpHttpTracingClient
impl !UnwindSafe for OtlpHttpTracingClient
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