Expose more metrics to improve observability:
Montior API:
retained_msg_count field to /api/v5/monitor_current.retained_msg_count and node_uptime fields to /api/v5/monitor_current/nodes/{node}.Prometheus API:
emqx_cert_expiry_at to /api/v5/prometheus/stats to display TLS listener certificate expiration time./api/v5/prometheus/auth endpoint to provide metrics such as execution count and running status for all authenticatiors and authorizators./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.