From 202183adf806a15e1406227e32b2beed3d01f22c Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 6 Jun 2023 12:58:50 +0200 Subject: [PATCH] update the total_received properties of multiple events --- meilisearch/src/analytics/segment_analytics.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meilisearch/src/analytics/segment_analytics.rs b/meilisearch/src/analytics/segment_analytics.rs index 25aa20a9a..17170b582 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -1145,6 +1145,7 @@ pub struct DocumentsDeletionAggregator { #[serde(rename = "user-agent")] user_agents: HashSet, + #[serde(rename = "requests.total_received")] total_received: usize, per_document_id: bool, clear_all: bool, @@ -1295,6 +1296,7 @@ pub struct HealthAggregator { #[serde(rename = "user-agent")] user_agents: HashSet, + #[serde(rename = "requests.total_received")] total_received: usize, } @@ -1345,7 +1347,7 @@ pub struct DocumentsFetchAggregator { #[serde(rename = "user-agent")] user_agents: HashSet, - #[serde(rename = "requests.max_limit")] + #[serde(rename = "requests.total_received")] total_received: usize, // a call on ../documents/:doc_id