Merge branch 'worktree-agent-a184a6929a356b613'
# Conflicts: # src/engine.rs
This commit is contained in:
@@ -54,6 +54,10 @@ pub struct LogsParams {
|
||||
pub start_ms: Option<i64>,
|
||||
pub end_ms: Option<i64>,
|
||||
pub limit: Option<usize>,
|
||||
/// Raw FilterBar query string (ticket 007), e.g. `regex("error") and
|
||||
/// sequence<5`. Parsed with `filter_parser::parse` and evaluated in the
|
||||
/// engine; a malformed string surfaces as `EngineResponse::Error`.
|
||||
pub filter: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
@@ -61,6 +65,9 @@ pub struct TimelineParams {
|
||||
pub start_ms: Option<i64>,
|
||||
pub end_ms: Option<i64>,
|
||||
pub bucket_ms: Option<i64>,
|
||||
/// Same FilterBar query string as `LogsParams::filter`: only logs
|
||||
/// matching it are counted into timeline buckets.
|
||||
pub filter: Option<String>,
|
||||
}
|
||||
|
||||
/// One entry from a metric's derived bucket timeseries: the label combination
|
||||
|
||||
Reference in New Issue
Block a user