From 871c8e7790707fa29f6b659285be3858bab7154d Mon Sep 17 00:00:00 2001 From: JimMoen Date: Fri, 15 Mar 2024 18:46:31 +0800 Subject: [PATCH] docs: add changelog for PR 12714 --- changes/ce/fix-12714.en.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 changes/ce/fix-12714.en.md diff --git a/changes/ce/fix-12714.en.md b/changes/ce/fix-12714.en.md new file mode 100644 index 000000000..4c021f72f --- /dev/null +++ b/changes/ce/fix-12714.en.md @@ -0,0 +1,12 @@ +Fixed some field errors in prometheus api `/prometheus/stats`. + +Related metrics names: +- `emqx_cluster_sessions_count` +- `emqx_cluster_sessions_max` +- `emqx_cluster_nodes_running` +- `emqx_cluster_nodes_stopped` +- `emqx_subscriptions_shared_count` +- `emqx_subscriptions_shared_max` + +Fixed the issue in endpoint: `/stats` that the values of fields `subscriptions.shared.count` and `subscriptions.shared.max` +can not be updated in time when the client disconnected or unsubscribed the Shared-Subscription.