/v1/stats
使用 stats
節點收集與核心應用程式和資料庫相關的重要統計資料。使用目前序列回呼大小和待處理訊息數量衡量序列成效。
以下關係連線連接至此節點:
stats
節點支援 Bearer 憑證和 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.