diff --git a/changes/ce/feat-12299.en.md b/changes/ce/feat-12299.en.md new file mode 100644 index 000000000..1721970e4 --- /dev/null +++ b/changes/ce/feat-12299.en.md @@ -0,0 +1,15 @@ +Expose more metrics to improve observability: + +Montior API: + - Add `retained_msg_count` field to `/api/v5/monitor_current`. + - Add `retained_msg_count` and `node_uptime` fields to `/api/v5/monitor_current/nodes/{node}`. + +Prometheus API: + - Add `emqx_cert_expiry_at` to `/api/v5/prometheus/stats` to display TLS listener certificate expiration time. + - Add `/api/v5/prometheus/auth` endpoint to provide metrics such as execution count and running status for all authenticatiors and authorizators. + - Add `/api/v5/prometheus/data_integration` endpoint to provide metrics such as execution count and status for all rules, actions, and connectors. + +Limitations: + Prometheus push gateway only supports content in `/api/v5/prometheus/stats?mode=node` for now. + +For more API details and metric type information. Please see also in swagger api docs. diff --git a/changes/ee/feat-12299.en.md b/changes/ee/feat-12299.en.md new file mode 100644 index 000000000..629928b90 --- /dev/null +++ b/changes/ee/feat-12299.en.md @@ -0,0 +1,17 @@ +# Expose more metrics to improve observability: + +Montior API: + - Add `retained_msg_count` field to `/api/v5/monitor_current`. + - Add `license_quota` field to `/api/v5/monitor_current` + - Add `retained_msg_count` and `node_uptime` fields to `/api/v5/monitor_current/nodes/{node}`. + - Add `retained_msg_count`, `license_quota` and `node_uptime` fields to `/api/v5/monitor_current/nodes/{node}`. + +Prometheus API: + - Add `emqx_cert_expiry_at` and `emqx_license_expiry_at` to `/api/v5/prometheus/stats` to display TLS listener certificate expiration time and license expiration time. + - Add `/api/v5/prometheus/auth` endpoint to provide metrics such as execution count and running status for all authenticatiors and authorizators. + - Add `/api/v5/prometheus/data_integration` endpoint to provide metrics such as execution count and status for all rules, actions, and connectors. + +Limitations: + Prometheus push gateway only supports the content in `/api/v5/prometheus/stats?mode=node` + +For more API details and metric type information. Please see also in swagger api docs.