pub trait JaegerQueryHandler {
// Required methods
fn get_services<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_operations<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
service_name: &'life1 str,
span_kind: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_trace<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
trace_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn find_traces<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
query_params: QueryTraceParams,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Handle Jaeger query requests.
Required Methods§
Sourcefn get_services<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_services<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get trace services. It’s used for /api/services
API.
Sourcefn get_operations<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
service_name: &'life1 str,
span_kind: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_operations<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
service_name: &'life1 str,
span_kind: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Get Jaeger operations. It’s used for /api/operations
and /api/services/{service_name}/operations
API.
Sourcefn get_trace<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
trace_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_trace<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
trace_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get trace by trace id. It’s used for /api/traces/{trace_id}
API.
Sourcefn find_traces<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
query_params: QueryTraceParams,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_traces<'life0, 'async_trait>(
&'life0 self,
ctx: QueryContextRef,
query_params: QueryTraceParams,
) -> Pin<Box<dyn Future<Output = Result<Output>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Find traces by query params. It’s used for /api/traces
API.