Skip to content

Commit

Permalink
quickwit: Skip tracing query param in get request functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed Dec 6, 2024
1 parent 1c38682 commit 912098f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/quickwit_connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ fn filter_ast_to_query(ast: &FilterAst) -> Option<serde_json::Value> {
})
}

#[instrument(name = "GET and parse quickwit begin search results")]
#[instrument(skip(query), name = "GET and parse quickwit begin search results")]
async fn begin_search(
base_url: &str,
index: &str,
Expand Down Expand Up @@ -372,7 +372,7 @@ async fn continue_search(
))
}

#[instrument(name = "GET and parse quickwit count result")]
#[instrument(skip(query), name = "GET and parse quickwit count result")]
async fn count(base_url: &str, index: &str, query: Option<serde_json::Value>) -> Result<u64> {
let url = format!("{}/api/v1/_elastic/{}/_count", base_url, index);
let client = Client::new();
Expand All @@ -396,7 +396,7 @@ async fn count(base_url: &str, index: &str, query: Option<serde_json::Value>) ->
Ok(data.count)
}

#[instrument(name = "GET and parse quickwit search aggregation results")]
#[instrument(skip(query), name = "GET and parse quickwit search aggregation results")]
async fn search_aggregation(
base_url: &str,
index: &str,
Expand Down

0 comments on commit 912098f

Please sign in to comment.