/v1/stats
stats
節點可用來蒐集關於核心應用程式和資料庫的重要統計資料。在目前的佇列回呼大小和待處理訊息數量下,衡量佇列的效能。
下列關係連線連結到此節點:
stats
節點支援持有人權杖和 API 密鑰驗證。
health
, metrics
, and stats
nodes from an orchestrator, Bearer tokens are not the best option for ongoing checks as they expire every 7 days. To mediate this, you can use an API key, which can be set using the WA_API_KEY
environment variable in the waweb
environment section in the .yml
file of your installation setup.
services: ... waweb: ... environment: ... WA_API_KEY: your-api-key-tokenThe API key you set must have a minimum of 12 characters and a maximum of 128 characters. The Webapp must be restarted whenever you change the API key.