Sfoglia il codice sorgente

docs: add changelog for PR 13889

zmstone 1 anno fa
parent
commit
62843cf1b7
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      changes/ce/feat-13889.en.md

+ 8 - 0
changes/ce/feat-13889.en.md

@@ -0,0 +1,8 @@
+Improve `/api/v5/monitor_current` and `/api/v5/metrics` performance.
+
+Prior to this fix, these two APIs query clustered nodes in a loop.
+Now the queries are sent in parallel.
+The latency to return the query is dominated by the slowest node in the cluster.
+
+Also added `node` parameter to `/api/v5/monitor_current` API to avoid cluster-wide query when only need data from one node.
+For example, with `?aggregate=false&node=emqx@node1.comain.name`, the API will return data only for one node.