From 19736cefe858377c4c6143daa05479361b87ad8e Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 4 Dec 2023 10:38:01 +0100 Subject: [PATCH] add the analytics --- 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 6a617577b..0cdb18540 100644 --- a/meilisearch/src/analytics/segment_analytics.rs +++ b/meilisearch/src/analytics/segment_analytics.rs @@ -264,6 +264,7 @@ struct Infos { ignore_snapshot_if_db_exists: bool, http_addr: bool, http_payload_size_limit: Byte, + task_queue_webhook: bool, log_level: String, max_indexing_memory: MaxMemory, max_indexing_threads: MaxThreads, @@ -290,7 +291,7 @@ impl From for Infos { http_addr, master_key: _, env, - task_webhook_url: _, + task_webhook_url, max_index_size: _, max_task_db_size: _, http_payload_size_limit, @@ -344,6 +345,7 @@ impl From for Infos { http_addr: http_addr != default_http_addr(), http_payload_size_limit, experimental_max_number_of_batched_tasks, + task_queue_webhook: task_webhook_url.is_some(), log_level: log_level.to_string(), max_indexing_memory, max_indexing_threads,