Add analytics on the get / fetch document route #3737
Labels
enhancement
New feature or improvement
impacts docs
This issue involves changes in the Meilisearch's documentation
v1.2.0
PRs/issues solved in v1.2.0 released on 2023-06-05
Milestone
Related spec: meilisearch/specifications#234
Motivation
We didn't have the time to implement the analytics before the end of the sprint on the get documents route.
Add the analytics for the following routes:
GET
-/indexes/:uid/documents
GET
-/indexes/:uid/documents/:doc_id
POST
-/indexes/:uid/documents/fetch
These analytics are aggregated between two events:
Documents Fetched GET
Documents Fetched POST
That shares the same payload:
requests.total_received
per_document_id
false
per_filter
true
ifPOST /indexes/:indexUid/documents/fetch
endpoint was used with a filter in this batch, otherwisefalse
pagination.max_limit
limit
parameter in this batchpagination.max_offset
offset
parameter in this batchTODO
Impacted teams
@meilisearch/docs-team
The text was updated successfully, but these errors were encountered: