rename the analytics according to the spec

This commit is contained in:
Tamo 2023-05-10 14:02:42 +02:00
parent c42a65a297
commit 46ec8a97e9
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -1175,6 +1175,7 @@ pub struct DocumentsFetchAggregator {
#[serde(rename = "user-agent")]
user_agents: HashSet<String>,
#[serde(rename = "requests.max_limit")]
total_received: usize,
// a call on ../documents/:doc_id
@ -1183,7 +1184,9 @@ pub struct DocumentsFetchAggregator {
per_filter: bool,
// pagination
#[serde(rename = "pagination.max_limit")]
max_limit: usize,
#[serde(rename = "pagination.max_offset")]
max_offset: usize,
}