3877: update the total_received properties of multiple events r=dureuill a=dureuill

# Pull Request

## Related issue
Fixes #3814 

## What does this PR do?
-fix name of `total_received` for several events


Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
meili-bors[bot] 2023-07-03 19:49:53 +00:00 committed by GitHub
commit 82650eaae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1145,6 +1145,7 @@ pub struct DocumentsDeletionAggregator {
#[serde(rename = "user-agent")] #[serde(rename = "user-agent")]
user_agents: HashSet<String>, user_agents: HashSet<String>,
#[serde(rename = "requests.total_received")]
total_received: usize, total_received: usize,
per_document_id: bool, per_document_id: bool,
clear_all: bool, clear_all: bool,
@ -1295,6 +1296,7 @@ pub struct HealthAggregator {
#[serde(rename = "user-agent")] #[serde(rename = "user-agent")]
user_agents: HashSet<String>, user_agents: HashSet<String>,
#[serde(rename = "requests.total_received")]
total_received: usize, total_received: usize,
} }
@ -1345,7 +1347,7 @@ pub struct DocumentsFetchAggregator {
#[serde(rename = "user-agent")] #[serde(rename = "user-agent")]
user_agents: HashSet<String>, user_agents: HashSet<String>,
#[serde(rename = "requests.max_limit")] #[serde(rename = "requests.total_received")]
total_received: usize, total_received: usize,
// a call on ../documents/:doc_id // a call on ../documents/:doc_id