pub struct QueryTracesOptions {
pub service: Option<String>,
pub instance: Option<String>,
pub endpoint: Option<String>,
pub trace_id: Option<String>,
pub trace_state: TraceState,
pub min_duration_ms: Option<u64>,
pub max_duration_ms: Option<u64>,
pub tags: BTreeMap<String, String>,
pub range: Option<TimeRange>,
pub paging: Paging,
pub order: TraceOrder,
}Expand description
Filter of SkyWalkingQueryClient::query_traces (native traces).
Fields§
§service: Option<String>Service name.
instance: Option<String>Instance name (needs service).
endpoint: Option<String>Endpoint name (needs service).
trace_id: Option<String>Native trace id.
trace_state: TraceStateTrace state (default ALL).
min_duration_ms: Option<u64>Minimum trace duration in ms.
max_duration_ms: Option<u64>Maximum trace duration in ms.
Tag matches; only keys in the server’s SW_SEARCHABLE_TAG_KEYS can match.
range: Option<TimeRange>Window (default: last hour; omitted when only trace_id is given).
paging: PagingPage (default 1 × 20).
order: TraceOrderOrder (default BY_START_TIME).
Implementations§
Source§impl QueryTracesOptions
impl QueryTracesOptions
Sourcepub fn trace_state(self, state: TraceState) -> Self
pub fn trace_state(self, state: TraceState) -> Self
Sets the trace state.
Trait Implementations§
Source§impl Clone for QueryTracesOptions
impl Clone for QueryTracesOptions
Source§impl Debug for QueryTracesOptions
impl Debug for QueryTracesOptions
Source§impl Default for QueryTracesOptions
impl Default for QueryTracesOptions
Source§impl PartialEq for QueryTracesOptions
impl PartialEq for QueryTracesOptions
impl StructuralPartialEq for QueryTracesOptions
Auto Trait Implementations§
impl Forget for QueryTracesOptions
impl Freeze for QueryTracesOptions
impl Move for QueryTracesOptions
impl RefUnwindSafe for QueryTracesOptions
impl Send for QueryTracesOptions
impl Sync for QueryTracesOptions
impl Unpin for QueryTracesOptions
impl UnsafeUnpin for QueryTracesOptions
impl UnwindSafe for QueryTracesOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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