启用 Meilisearch 云监控以跟踪应用程序性能和服务状态。

要求

您必须拥有 Meilisearch 云帐户才能访问监控指标。

在项目概览中启用监控

登录您的 Meilisearch 云帐户,导航到项目概览。找到“分析和监控”部分,点击“启用分析和监控”按钮
The analytics and monitoring section of the project overview. It shows one button, 'Enable analytics and monitoring', and a short explanation of both features.
Meilisearch 云将开始处理您的请求。功能启用后,“分析和监控”部分将更新,显示新的说明文本和按钮。
激活监控将自动激活 分析

更新应用程序中的 URL

当您启用监控时,Meilisearch 云会更改您项目的 API URL。Meilisearch 云只能跟踪发送到此 URL 的查询的指标。 更新您的应用程序,使所有 API 请求都指向新 URL:
curl \
  -X POST 'http://edge.meilisearch.com/indexes/products/search' \
  -H 'Content-Type: application/json' \
  --data-binary '{ "q": "green socks" }'
先前的 API URL 将保持功能正常,但针对它的请求不会向监控界面发送任何数据。
© . This site is unofficial and not affiliated with Meilisearch.