MeiliSearch/meilisearch/tests
meili-bors[bot] 3753f87fd8
Merge #5011
5011: Revamp analytics r=ManyTheFish a=irevoire

# Pull Request

## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/5009

## What does this PR do?
- Force every analytics to go through a trait that forces you to handle aggregation correcty
- Put the code to retrieve the `user-agent`, `timestamp` and `requests.total_received` in common between all aggregates, so there is no mistake
- Get rids of all the different channel for each kind of event in favor of an any map
- Ensure that we never [send empty event ever again](https://github.com/meilisearch/meilisearch/pull/5001)
- Merge all the sub-settings route into a global « Settings Updated » event.
- Fix: When using one of the three following feature, we were not sending any analytics IF they were set from the global route
  - /non-separator-tokens
  - /separator-tokens
  - /dictionary

Co-authored-by: Tamo <tamo@meilisearch.com>
2024-10-21 15:08:49 +00:00
..
assets Change the naming of attributeScale and wordScale into byAttribute and byWord 2023-12-14 16:31:00 +01:00
auth prepare the tests to share indexes with api key 2024-07-30 14:34:11 +02:00
common remove the segment feature and always import segment 2024-10-17 11:21:14 +02:00
dashboard Renames meilisearch-http to meilisearch 2022-12-08 08:22:53 -07:00
documents Fix tests that check error message content 2024-09-17 17:14:39 +02:00
dumps fix tests 2024-09-03 12:07:58 +02:00
features Implements the experimental contains filter operator« 2024-07-17 11:13:37 +02:00
index fix the initialization problem over the shared indexes with documents 2024-07-30 14:24:57 +02:00
logs fix the tests 2024-10-17 09:55:30 +02:00
search Add test failing before this PR, OK now 2024-10-14 16:23:28 +02:00
settings fix tests 2024-09-03 12:07:58 +02:00
similar Merge #4938 2024-09-19 09:17:14 +00:00
snapshot Temporarily ignore perform snapshot test under Windows 2024-05-29 12:42:47 +02:00
stats refactor the tests suite slightly 2023-09-11 16:56:26 +02:00
swap_indexes make the new_shared function synchronous and stop indexing documents when it's not required 2024-07-30 14:24:57 +02:00
tasks Fix existing tests 2024-07-31 17:57:32 +02:00
vector Fix tests 2024-10-02 11:20:29 +02:00
content_type.rs fix conflicts after rebase 2024-09-02 18:15:42 +02:00
integration.rs fix the deletion of vectors and add a test 2024-06-06 11:39:29 +02:00