pub struct QueryLogsOptions {
pub service: Option<String>,
pub instance: Option<String>,
pub endpoint: Option<String>,
pub trace_id: Option<String>,
pub segment_id: Option<String>,
pub span_id: Option<i64>,
pub keywords: Vec<String>,
pub excluding_keywords: Vec<String>,
pub tags: BTreeMap<String, String>,
pub range: Option<TimeRange>,
pub paging: Paging,
pub order: LogOrder,
}Expand description
Filter of SkyWalkingQueryClient::query_logs.
Fields§
§service: Option<String>Service name.
instance: Option<String>Instance name (needs service).
endpoint: Option<String>Endpoint name (needs service).
trace_id: Option<String>Logs related to this trace (native or hex id).
segment_id: Option<String>With trace_id: the segment.
span_id: Option<i64>With segment_id: the span.
keywords: Vec<String>Words the content must contain. Sent to the server when it supports keyword search (Elasticsearch storage); on BanyanDB the returned page is filtered client side (case-insensitive substring).
excluding_keywords: Vec<String>Words the content must not contain (same rules as keywords).
Tag matches; only keys in SW_SEARCHABLE_LOGS_TAG_KEYS can match.
range: Option<TimeRange>Window (default last hour; omitted when only trace_id is given).
paging: PagingPage (default 1 × 20).
order: LogOrderOrder (default DES, newest first).
Implementations§
Trait Implementations§
Source§impl Clone for QueryLogsOptions
impl Clone for QueryLogsOptions
Source§impl Debug for QueryLogsOptions
impl Debug for QueryLogsOptions
Source§impl Default for QueryLogsOptions
impl Default for QueryLogsOptions
Source§impl PartialEq for QueryLogsOptions
impl PartialEq for QueryLogsOptions
impl StructuralPartialEq for QueryLogsOptions
Auto Trait Implementations§
impl Forget for QueryLogsOptions
impl Freeze for QueryLogsOptions
impl Move for QueryLogsOptions
impl RefUnwindSafe for QueryLogsOptions
impl Send for QueryLogsOptions
impl Sync for QueryLogsOptions
impl Unpin for QueryLogsOptions
impl UnsafeUnpin for QueryLogsOptions
impl UnwindSafe for QueryLogsOptions
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